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/text.c | |
parent | src/zenity.ui: Do not use deprecated stock images (diff) | |
download | zenity-6fcbb80fd1b5268fbedcdb985ffa873a2e475840.tar.gz zenity-6fcbb80fd1b5268fbedcdb985ffa873a2e475840.tar.bz2 zenity-6fcbb80fd1b5268fbedcdb985ffa873a2e475840.zip |
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/text.c')
-rw-r--r-- | src/text.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -278,14 +278,10 @@ zenity_text (ZenityData *data, ZenityTextData *text_data) if (data->ok_label) { gtk_button_set_label (GTK_BUTTON (ok_button), data->ok_label); - gtk_button_set_image (GTK_BUTTON (ok_button), - gtk_image_new_from_stock (GTK_STOCK_OK, GTK_ICON_SIZE_BUTTON)); } if (data->cancel_label) { gtk_button_set_label (GTK_BUTTON (cancel_button), data->cancel_label); - gtk_button_set_image (GTK_BUTTON (cancel_button), - gtk_image_new_from_stock (GTK_STOCK_CANCEL, GTK_ICON_SIZE_BUTTON)); } if (text_data->checkbox) { |