From 7c218cddd33a02b6683d754eb8cab7a449b392d8 Mon Sep 17 00:00:00 2001 From: Martijn Braam Date: Fri, 10 Sep 2021 03:30:30 +0200 Subject: [PATCH] Redesign data QR dialog --- src/main.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 975f77b..3c634ec 100644 --- a/src/main.c +++ b/src/main.c @@ -557,9 +557,13 @@ on_zbar_code_tapped(GtkWidget *widget, const MPZBarCode *code) flags, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, - "Found '%s' encoded in a %s.", - code->data, + "Found data encoded in a %s.", code->type); + gtk_message_dialog_format_secondary_markup ( + GTK_DIALOG(dialog), + "%s", + code->data + ); } gtk_dialog_add_buttons( GTK_DIALOG(dialog),