[gnome-panel/features/modernize-for-gnome-3-12: 8/11] panel.c: don't use deprecated GtkStock



commit 011cfd6b6dc4e95d0e295ecc1b731d66bbc36913
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]