[devhelp: 9/9] window: avoid using deprecated stock icons



commit 142c57e142f7315da3047a7d62774805c0e79f2f
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Mon Oct 7 08:41:43 2013 +0200

    window: avoid using deprecated stock icons

 src/dh-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/dh-window.c b/src/dh-window.c
index dc2bde7..64fd828 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -1117,7 +1117,7 @@ window_open_new_tab (DhWindow    *window,
         info_bar = gtk_info_bar_new ();
         gtk_widget_set_no_show_all (info_bar, TRUE);
         gtk_info_bar_add_button (GTK_INFO_BAR (info_bar),
-                                 GTK_STOCK_CLOSE, GTK_RESPONSE_OK);
+                                 "_Close", GTK_RESPONSE_OK);
         gtk_info_bar_set_message_type (GTK_INFO_BAR (info_bar),
                                        GTK_MESSAGE_ERROR);
         g_signal_connect (info_bar, "response",


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