static struct layout range_opt[n_VAL_CHOOSER_BUTTONS]=
{
- {N_("Value:"), simple_entry, simple_set },
- {N_("System Missing"), NULL, sysmis_set },
- {N_("System or User Missing"), NULL, missing_set},
- {N_("Range:"), range_entry, range_set },
- {N_("Range, LOWEST thru value"), simple_entry, lo_up_set },
- {N_("Range, value thru HIGHEST"), simple_entry, hi_down_set},
- {N_("All other values"), NULL, else_set }
+ {N_("_Value:"), simple_entry, simple_set },
+ {N_("_System Missing"), NULL, sysmis_set },
+ {N_("System _or User Missing"), NULL, missing_set},
+ {N_("_Range:"), range_entry, range_set },
+ {N_("Range, _LOWEST thru value"), simple_entry, lo_up_set },
+ {N_("Range, value thru _HIGHEST"), simple_entry, hi_down_set},
+ {N_("_All other values"), NULL, else_set }
};
static void
{
struct layout *l = &range_opt[i];
vr->rw[i].label = GTK_LABEL (gtk_label_new (gettext (l->label)));
+ gtk_label_set_use_underline (vr->rw[i].label, TRUE);
vr->rw[i].rb = GTK_TOGGLE_BUTTON (gtk_radio_button_new (group));
-
- gtk_widget_set_sensitive (GTK_WIDGET (vr->rw[i].label), FALSE);
- g_signal_connect (vr->rw[i].rb, "toggled", G_CALLBACK (set_sensitivity_from_toggle), vr->rw[i].label);
+ gtk_label_set_mnemonic_widget (vr->rw[i].label, vr->rw[i].rb);
gtk_misc_set_alignment (GTK_MISC (vr->rw[i].label), 0, 0.5);
<property name="spacing">5</property>
<child>
<object class="PsppireValChooser" id="val-chooser">
- <property name="label" translatable="yes">Old Value</property>
+ <property name="label" translatable="yes">Old Value</property>
<property name="visible">True</property>
</object>
<packing>
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">System Missing</property>
+ <property name="label" translatable="yes">System _Missing</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">radiobutton2</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Copy old values</property>
+ <property name="label" translatable="yes">Co_py old values</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">radiobutton3</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Value: </property>
+ <property name="label" translatable="yes">Va_lue: </property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">radiobutton1</property>
</object>
<packing>
<property name="position">0</property>
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Convert numeric strings to numbers (`5' -> 5)</property>
+ <property name="label" translatable="yes">Conver_t numeric strings to numbers (`5' -> 5)</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">checkbutton2</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Output variables are strings</property>
+ <property name="label" translatable="yes">Output variables are _strings</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">checkbutton1</property>
</object>
<packing>
<property name="position">0</property>
<property name="spacing">5</property>
<child>
<object class="GtkButton" id="button2">
- <property name="label" translatable="yes">If...</property>
+ <property name="label" translatable="yes">_If...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Name:</property>
+ <property name="label" translatable="yes">_Name:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">dest-name-entry</property>
</object>
<packing>
<property name="position">0</property>
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Label:</property>
+ <property name="label" translatable="yes">La_bel:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">dest-label-entry</property>
</object>
<packing>
<property name="position">2</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<child>
<object class="GtkButton" id="change-button">
- <property name="label" translatable="yes">Change</property>
+ <property name="label" translatable="yes">Chan_ge</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
+ <property name="use_underline">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
</object>
<packing>
<object class="GtkLabel" id="label17">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="label" translatable="yes">Variables:</property>
+ <property name="label" translatable="yes">_Variables:</property>
<property name="use_markup">True</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">treeview2</property>
</object>
</child>
</object>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<child>
<object class="GtkButton" id="button1">
- <property name="label" translatable="yes">Old and New Values</property>
+ <property name="label" translatable="yes">Old and New Va_lues...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>