Commit 5ae47f03 authored by Jiro Matsuzawa's avatar Jiro Matsuzawa Committed by Rui Matos
Browse files

region: Give mnemonic to labelled widgets

https://bugzilla.gnome.org/show_bug.cgi?id=736606
parent 9dc11e66
......@@ -1801,7 +1801,7 @@ setup_login_button (CcRegionPanel *self)
g_object_unref (bus);
priv->login_label = WID ("login-label");
priv->login_button = gtk_toggle_button_new_with_label (_("Login Screen"));
priv->login_button = gtk_toggle_button_new_with_mnemonic (_("Login _Screen"));
gtk_style_context_add_class (gtk_widget_get_style_context (priv->login_button),
"text-button");
gtk_widget_set_valign (priv->login_button, GTK_ALIGN_CENTER);
......
......@@ -37,7 +37,8 @@
<property name="margin_top">6</property>
<property name="margin_bottom">6</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Language</property>
<property name="label" translatable="yes">_Language</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">True</property>
......@@ -82,7 +83,8 @@
<property name="margin_top">6</property>
<property name="margin_bottom">6</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Formats</property>
<property name="label" translatable="yes">_Formats</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">True</property>
......@@ -159,10 +161,11 @@
</child>
<child>
<object class="GtkButton" id="input_options">
<property name="label" translatable="yes">Options</property>
<property name="label" translatable="yes">_Options</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment