[gnome-control-center/wip/networking2] network: Use stock button for "Close"



commit 5229e05acd48de266339f0fe7b6b06123e7bcfa0
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jan 9 18:21:38 2013 +0100

    network: Use stock button for "Close"

 panels/network/net-device-wifi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index 3c1ea3d..6eaa354 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -1703,7 +1703,7 @@ open_history (NetDeviceWifi *device_wifi)
         gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);
         gtk_window_set_default_size (GTK_WINDOW (dialog), 600, 400);
 
-        button = gtk_button_new_with_mnemonic (_("_Close"));
+        button = gtk_button_new_from_stock (GTK_STOCK_CLOSE);
         gtk_widget_set_can_default (button, TRUE);
         gtk_widget_show (button);
         gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, 0);



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