diff --git a/src/entry.c b/src/entry.c index 3ebaf79..f4adb5a 100644 --- a/src/entry.c +++ b/src/entry.c @@ -123,8 +123,8 @@ zenity_entry (ZenityData *data, ZenityEntryData *entry_data) { text = gtk_builder_get_object (builder, "zenity_entry_text"); - if (entry_data->dialog_text) - gtk_label_set_text_with_mnemonic ( + if (entry_data->dialog_text) + gtk_label_set_markup ( GTK_LABEL (text), g_strcompress (entry_data->dialog_text)); vbox = gtk_builder_get_object (builder, "vbox4"); diff --git a/src/text.c b/src/text.c index 21a544d..7380181 100644 --- a/src/text.c +++ b/src/text.c @@ -201,7 +201,7 @@ zenity_text (ZenityData *data, ZenityTextData *text_data) { text_label = gtk_builder_get_object (builder, "zenity_text_label"); 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)); zenity_util_show_dialog (dialog);