[gnome-panel/wip/gnome-3.10+: 19/75] panel.c: don't use deprecated GtkStock



commit 86ab8a4e5b761ad38e33f6295d9308381fbf68c6
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun May 25 15:52:58 2014 +0300

    panel.c: don't use deprecated GtkStock

 gnome-panel/panel.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-panel/panel.c b/gnome-panel/panel.c
index 9b618e6..3e39dd7 100644
--- a/gnome-panel/panel.c
+++ b/gnome-panel/panel.c
@@ -1399,8 +1399,8 @@ panel_deletion_dialog (PanelToplevel *toplevel)
                                                  "settings are lost."));
 
        gtk_dialog_add_buttons (GTK_DIALOG (dialog),
-                               GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
-                               GTK_STOCK_DELETE, GTK_RESPONSE_OK,
+                               _("_Cancel"), GTK_RESPONSE_CANCEL,
+                               _("_Delete"), GTK_RESPONSE_OK,
                                NULL);
 
        gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);


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