[gnome-settings-daemon] Remove GTK_STOCK_CANCEL icon from ignore button



commit 7b82354ee1c2a76bb8038261e88b26808eebb18d
Author: Baptiste Mille-Mathias <baptiste millemathias gmail com>
Date:   Sun Jan 12 15:56:55 2014 +0100

    Remove GTK_STOCK_CANCEL icon from ignore button
    
    There is no replacement for this icon, so better is removing the icon from the
    button.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=722044

 plugins/housekeeping/gsd-ldsm-dialog.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/plugins/housekeeping/gsd-ldsm-dialog.c b/plugins/housekeeping/gsd-ldsm-dialog.c
index 1a0e119..6eb6111 100644
--- a/plugins/housekeeping/gsd-ldsm-dialog.c
+++ b/plugins/housekeeping/gsd-ldsm-dialog.c
@@ -415,7 +415,7 @@ gsd_ldsm_dialog_new (gboolean     other_usable_partitions,
 {
         GsdLdsmDialog *dialog;
         GtkWidget *button_empty_trash, *button_ignore, *button_analyze;
-        GtkWidget *empty_trash_image, *analyze_image, *ignore_image;
+        GtkWidget *empty_trash_image, *analyze_image;
         gchar *primary_text, *primary_text_markup;
         const gchar *secondary_text, *checkbutton_text;
        
@@ -448,8 +448,6 @@ gsd_ldsm_dialog_new (gboolean     other_usable_partitions,
         button_ignore = gtk_dialog_add_button (GTK_DIALOG (dialog), 
                                                _("Ignore"), 
                                                GTK_RESPONSE_CANCEL);
-        ignore_image = gtk_image_new_from_stock (GTK_STOCK_CANCEL, GTK_ICON_SIZE_BUTTON);
-        gtk_button_set_image (GTK_BUTTON (button_ignore), ignore_image);
 
         gtk_widget_grab_default (button_ignore);
        


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]