This commit is contained in:
TheBrokenRail 2022-05-14 00:09:48 -04:00
parent 775bea8911
commit 633e00f277
2 changed files with 3 additions and 3 deletions

View File

@ -124,7 +124,7 @@ zenity_entry (ZenityData *data, ZenityEntryData *entry_data) {
text = gtk_builder_get_object (builder, "zenity_entry_text"); text = gtk_builder_get_object (builder, "zenity_entry_text");
if (entry_data->dialog_text) if (entry_data->dialog_text)
gtk_label_set_text_with_mnemonic ( gtk_label_set_markup (
GTK_LABEL (text), g_strcompress (entry_data->dialog_text)); GTK_LABEL (text), g_strcompress (entry_data->dialog_text));
vbox = gtk_builder_get_object (builder, "vbox4"); vbox = gtk_builder_get_object (builder, "vbox4");

View File

@ -201,7 +201,7 @@ zenity_text (ZenityData *data, ZenityTextData *text_data) {
text_label = gtk_builder_get_object (builder, "zenity_text_label"); text_label = gtk_builder_get_object (builder, "zenity_text_label");
if (text_data->dialog_text) if (text_data->dialog_text)
gtk_label_set_text_with_mnemonic ( gtk_label_set_markup (
GTK_LABEL (text_label), g_strcompress (text_data->dialog_text)); GTK_LABEL (text_label), g_strcompress (text_data->dialog_text));
zenity_util_show_dialog (dialog); zenity_util_show_dialog (dialog);