diff options
author | Javier Jardón <jjardon@gnome.org> | 2015-03-22 04:57:05 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2015-03-22 09:16:16 +0000 |
commit | 6fcbb80fd1b5268fbedcdb985ffa873a2e475840 (patch) | |
tree | f524152264d2e8ff1d16f1622ddaf160f014ec1c /src/entry.c | |
parent | d26aa23e1dbc38be7709782d36df487ac59d0541 (diff) | |
download | zenity-6fcbb80fd1b5268fbedcdb985ffa873a2e475840.tar.gz |
Do not use an icon for Cancel/OK buttons
GTK+ documentation recommends to not use an icons, but use
"_OK"/"_Cancel" labels instead
Diffstat (limited to 'src/entry.c')
-rw-r--r-- | src/entry.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/entry.c b/src/entry.c index ca5e375..efb2234 100644 --- a/src/entry.c +++ b/src/entry.c @@ -87,15 +87,11 @@ zenity_entry (ZenityData *data, ZenityEntryData *entry_data) if (data->ok_label) { button = GTK_WIDGET (gtk_builder_get_object (builder, "zenity_entry_ok_button")); gtk_button_set_label (GTK_BUTTON (button), data->ok_label); - gtk_button_set_image (GTK_BUTTON (button), - gtk_image_new_from_stock (GTK_STOCK_OK, GTK_ICON_SIZE_BUTTON)); } if (data->cancel_label) { button = GTK_WIDGET (gtk_builder_get_object (builder, "zenity_entry_cancel_button")); gtk_button_set_label (GTK_BUTTON (button), data->cancel_label); - gtk_button_set_image (GTK_BUTTON (button), - gtk_image_new_from_stock (GTK_STOCK_CANCEL, GTK_ICON_SIZE_BUTTON)); } text = gtk_builder_get_object (builder, "zenity_entry_text"); |