[devhelp] Use "Close" as button label in info message



commit b790b2fdce835432aab6106fe96a4389e7632ddf
Author: Frédéric Péters <fpeters 0d be>
Date:   Tue Sep 22 11:17:48 2009 +0200

    Use "Close" as button label in info message

 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 764e69b..066cb03 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -1253,7 +1253,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_OK, GTK_RESPONSE_OK);
+                                 GTK_STOCK_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]