[almanah] UI: Removing GTK_STOCK_*



commit 9fb4d0cff8f389cb56398ee5586195976a1d1035
Author: Álvaro Peña <alvaropg gmail com>
Date:   Mon Jun 15 12:43:23 2015 +0200

    UI: Removing GTK_STOCK_*
    
    GTK_STOCK_* has been deprecated since GTK 3.10

 src/main-window.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/main-window.c b/src/main-window.c
index aa1b644..31c0e00 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -572,8 +572,8 @@ almanah_main_window_save_current_entry (AlmanahMainWindow *self, gboolean prompt
                                                 _("Are you sure you want to edit this diary entry for %s?"),
                                                 date_string);
                gtk_dialog_add_buttons (GTK_DIALOG (dialog),
-                                       GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT,
-                                       GTK_STOCK_EDIT, GTK_RESPONSE_ACCEPT,
+                                       _("_Cancel"), GTK_RESPONSE_REJECT,
+                                       _("_Edit"), GTK_RESPONSE_ACCEPT,
                                        NULL);
 
                gtk_widget_show_all (dialog);
@@ -602,8 +602,8 @@ almanah_main_window_save_current_entry (AlmanahMainWindow *self, gboolean prompt
                                                 _("Are you sure you want to delete this diary entry for 
%s?"),
                                                 date_string);
                gtk_dialog_add_buttons (GTK_DIALOG (dialog),
-                                       GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT,
-                                       GTK_STOCK_DELETE, GTK_RESPONSE_ACCEPT,
+                                       _("_Cancel"), GTK_RESPONSE_REJECT,
+                                       _("_Delete"), GTK_RESPONSE_ACCEPT,
                                        NULL);
 
                gtk_widget_show_all (dialog);


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