: Added mnemonics. Removed the mnemonic.
2006-01-03 Rajan Singh <singh.rajan@wipro.com> * gnome-window-properties.c: (fill_radio) (reload_mouse_modifiers) : Added mnemonics. * gnome-window-properties.glade : Removed the mnemonic.
This commit is contained in:
parent
a7fa1e8b9a
commit
ed3d3f6191
3 changed files with 13 additions and 7 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-01-03 Rajan Singh <singh.rajan@wipro.com>
|
||||
|
||||
* gnome-window-properties.c: (fill_radio) (reload_mouse_modifiers) :
|
||||
Added mnemonics.
|
||||
* gnome-window-properties.glade : Removed the mnemonic.
|
||||
|
||||
2005-11-14 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
* gnome-window-properties.c: (main): Remove unused code.
|
||||
|
|
|
@ -529,7 +529,7 @@ fill_radio (GtkRadioButton *group,
|
|||
MouseClickModifier *modifier)
|
||||
{
|
||||
modifier->radio =
|
||||
gtk_radio_button_new_with_label_from_widget (group,
|
||||
gtk_radio_button_new_with_mnemonic_from_widget (group,
|
||||
modifier->name);
|
||||
gtk_box_pack_start (GTK_BOX (alt_click_hbox),
|
||||
modifier->radio, FALSE, FALSE, 0);
|
||||
|
@ -639,32 +639,32 @@ reload_mouse_modifiers (void)
|
|||
i = 0;
|
||||
|
||||
mouse_modifiers[i].number = i;
|
||||
mouse_modifiers[i].name = g_strdup (_("Control"));
|
||||
mouse_modifiers[i].name = g_strdup (_("C_ontrol"));
|
||||
mouse_modifiers[i].value = "Control";
|
||||
++i;
|
||||
|
||||
mouse_modifiers[i].number = i;
|
||||
mouse_modifiers[i].name = g_strdup (_("Alt"));
|
||||
mouse_modifiers[i].name = g_strdup (_("_Alt"));
|
||||
mouse_modifiers[i].value = "Alt";
|
||||
++i;
|
||||
|
||||
if (have_hyper) {
|
||||
mouse_modifiers[i].number = i;
|
||||
mouse_modifiers[i].name = g_strdup (_("Hyper"));
|
||||
mouse_modifiers[i].name = g_strdup (_("H_yper"));
|
||||
mouse_modifiers[i].value = "Hyper";
|
||||
++i;
|
||||
}
|
||||
|
||||
if (have_super) {
|
||||
mouse_modifiers[i].number = i;
|
||||
mouse_modifiers[i].name = g_strdup (_("Super (or \"Windows logo\")"));
|
||||
mouse_modifiers[i].name = g_strdup (_("S_uper (or \"Windows logo\")"));
|
||||
mouse_modifiers[i].value = "Super";
|
||||
++i;
|
||||
}
|
||||
|
||||
if (have_meta) {
|
||||
mouse_modifiers[i].number = i;
|
||||
mouse_modifiers[i].name = g_strdup (_("Meta"));
|
||||
mouse_modifiers[i].name = g_strdup (_("_Meta"));
|
||||
mouse_modifiers[i].value = "Meta";
|
||||
++i;
|
||||
}
|
||||
|
|
|
@ -425,7 +425,7 @@
|
|||
<child>
|
||||
<widget class="GtkLabel" id="alt-click-label">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">To _move a window, press-and-hold this key then grab the window:</property>
|
||||
<property name="label" translatable="yes">To move a window, press-and-hold this key then grab the window:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue