[Xfce4-commits] [panel-plugins/xfce4-wavelan-plugin] 01/01: Use check buttons with mnemonic for hot keys

noreply at xfce.org noreply at xfce.org
Thu Jun 12 22:53:56 CEST 2014


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository panel-plugins/xfce4-wavelan-plugin.

commit 3de6d63ef0ee0895c68913b674859710cf91e4d3
Author: Sergey Alyoshin <alyoshin.s at gmail.com>
Date:   Thu Jun 5 23:37:36 2014 +0400

    Use check buttons with mnemonic for hot keys
---
 panel-plugin/wavelan.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/wavelan.c b/panel-plugin/wavelan.c
index dc73b38..d916f8a 100644
--- a/panel-plugin/wavelan.c
+++ b/panel-plugin/wavelan.c
@@ -553,7 +553,7 @@ wavelan_create_options (XfcePanelPlugin *plugin, t_wavelan *wavelan)
   
   hbox = gtk_hbox_new(FALSE, 2);
   gtk_widget_show(hbox);
-  autohide_missing = gtk_check_button_new_with_label(_("Autohide when no hardware present"));
+  autohide_missing = gtk_check_button_new_with_mnemonic(_("Autohide when no _hardware present"));
   gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(autohide_missing), 
       wavelan->autohide_missing);
   g_signal_connect(autohide_missing, "toggled", 
@@ -572,7 +572,7 @@ wavelan_create_options (XfcePanelPlugin *plugin, t_wavelan *wavelan)
 
   hbox = gtk_hbox_new(FALSE, 2);
   gtk_widget_show(hbox);
-  signal_colors = gtk_check_button_new_with_label(_("Enable signal quality colors"));
+  signal_colors = gtk_check_button_new_with_mnemonic(_("Enable sig_nal quality colors"));
   gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(signal_colors), 
       wavelan->signal_colors);
   g_signal_connect(signal_colors, "toggled", 
@@ -583,7 +583,7 @@ wavelan_create_options (XfcePanelPlugin *plugin, t_wavelan *wavelan)
 
   hbox = gtk_hbox_new(FALSE, 2);
   gtk_widget_show(hbox);
-  show_icon = gtk_check_button_new_with_label(_("Show icon"));
+  show_icon = gtk_check_button_new_with_mnemonic(_("Show _icon"));
   gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(show_icon), 
       wavelan->show_icon);
   g_signal_connect(show_icon, "toggled", 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list