[gnome-panel] panel-icon-chooser: don't use deprecated GtkStock



commit 4663328fb8e62e8f03537a227691525c15e7f9be
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun May 25 15:37:54 2014 +0300

    panel-icon-chooser: don't use deprecated GtkStock

 gnome-panel/libpanel-util/panel-icon-chooser.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-panel/libpanel-util/panel-icon-chooser.c b/gnome-panel/libpanel-util/panel-icon-chooser.c
index f404ec0..030afb3 100644
--- a/gnome-panel/libpanel-util/panel-icon-chooser.c
+++ b/gnome-panel/libpanel-util/panel-icon-chooser.c
@@ -383,9 +383,9 @@ _panel_icon_chooser_clicked (GtkButton *button)
        filechooser = gtk_file_chooser_dialog_new (_("Choose an icon"),
                                                   parent,
                                                   GTK_FILE_CHOOSER_ACTION_OPEN,
-                                                  GTK_STOCK_CANCEL,
+                                                  _("_Cancel"),
                                                   GTK_RESPONSE_CANCEL,
-                                                  GTK_STOCK_OPEN,
+                                                  _("_Open"),
                                                   GTK_RESPONSE_ACCEPT,
                                                   NULL);
        panel_gtk_file_chooser_add_image_preview (GTK_FILE_CHOOSER (filechooser));


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