Redesign data QR dialog

This commit is contained in:
Martijn Braam 2021-09-10 03:30:30 +02:00
parent 7d8404d895
commit 7c218cddd3
No known key found for this signature in database
GPG Key ID: C4280ACB000B060F
1 changed files with 6 additions and 2 deletions

View File

@ -557,9 +557,13 @@ on_zbar_code_tapped(GtkWidget *widget, const MPZBarCode *code)
flags, flags,
GTK_MESSAGE_QUESTION, GTK_MESSAGE_QUESTION,
GTK_BUTTONS_NONE, GTK_BUTTONS_NONE,
"Found '%s' encoded in a %s.", "Found data encoded in a %s.",
code->data,
code->type); code->type);
gtk_message_dialog_format_secondary_markup (
GTK_DIALOG(dialog),
"<small>%s</small>",
code->data
);
} }
gtk_dialog_add_buttons( gtk_dialog_add_buttons(
GTK_DIALOG(dialog), GTK_DIALOG(dialog),