From 320b7b304d544cbb226aaf75355c8129f6ce1b39 Mon Sep 17 00:00:00 2001 From: Sergey Alyoshin Date: Thu, 5 Jun 2014 23:37:36 +0400 Subject: [PATCH] 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 813cc15..5392a1a 100644 --- a/panel-plugin/wavelan.c +++ b/panel-plugin/wavelan.c @@ -557,7 +557,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", @@ -576,7 +576,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", @@ -587,7 +587,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", -- 1.7.10.4