Add mnemonics.

2002-03-27  Richard Hestilow  <hestilow@ximian.com>

	* sound-properties.glade: Add mnemonics.

	* sound-properties-capplet.c (create_dialog): Connect to
	properties so we know when to save.
This commit is contained in:
Richard Hestilow 2002-03-28 01:10:53 +00:00 committed by Rachel Hestilow
parent 7abe45f43b
commit 25e832d716
3 changed files with 31 additions and 5 deletions

View file

@ -1,3 +1,17 @@
2002-03-27 Richard Hestilow <hestilow@ximian.com>
* sound-properties.glade: Add mnemonics.
* sound-properties-capplet.c (create_dialog): Connect to
properties so we know when to save.
2002-03-27 Richard Hestilow <hestilow@ximian.com>
* sound-properties.glade: Add mnemonics.
* sound-properties-capplet.c (create_dialog): Connect to
properties so we know when to save.
2002-03-10 Seth Nickell <snickell@stanford.edu>
* main.c: (main):

View file

@ -45,6 +45,12 @@
static SoundProperties *props = NULL;
static void
props_changed_cb (SoundProperties *p, SoundEvent *event, gpointer data)
{
sound_properties_user_save (p);
}
/* create_dialog
*
* Create the dialog box and return it as a GtkWidget
@ -62,6 +68,8 @@ create_dialog (void)
props = sound_properties_new ();
sound_properties_add_defaults (props, NULL);
g_signal_connect (G_OBJECT (props), "event_changed",
(GCallback) props_changed_cb, NULL);
box = glade_xml_get_widget (data, "events_vbox");
gtk_box_pack_start (GTK_BOX (box), sound_view_new (props),
TRUE, TRUE, 0);
@ -167,7 +175,7 @@ main (int argc, char **argv)
#endif
dialog_win = gtk_dialog_new_with_buttons
(_("Sound properties"), NULL, -1,
(_("Sound preferences"), NULL, -1,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
NULL);

View file

@ -32,10 +32,11 @@
<child>
<widget class="GtkCheckButton" id="enable_toggle">
<property name="can_focus">yes</property>
<property name="label" translatable="yes">Enable sound server startup</property>
<property name="label" translatable="yes">E_nable sound server startup</property>
<property name="active">no</property>
<property name="draw_indicator">yes</property>
<property name="visible">yes</property>
<property name="use_underline">yes</property>
<signal name="toggled" handler="enable_toggled_cb" />
</widget>
@ -49,10 +50,11 @@
<child>
<widget class="GtkCheckButton" id="events_toggle">
<property name="can_focus">yes</property>
<property name="label" translatable="yes">Sounds for events</property>
<property name="label" translatable="yes">_Sounds for events</property>
<property name="active">no</property>
<property name="draw_indicator">yes</property>
<property name="visible">yes</property>
<property name="use_underline">yes</property>
<signal name="toggled" handler="events_toggled_cb" />
</widget>
@ -67,7 +69,7 @@
<child>
<widget class="GtkLabel" id="label1">
<property name="label" translatable="yes">General</property>
<property name="label" translatable="yes">_General</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
@ -75,6 +77,7 @@
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
<property name="use_underline">yes</property>
</widget>
<packing>
<property name="type">tab</property>
@ -91,7 +94,7 @@
<child>
<widget class="GtkLabel" id="label2">
<property name="label" translatable="yes">Sound Events</property>
<property name="label" translatable="yes">Sound _Events</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
@ -99,6 +102,7 @@
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
<property name="use_underline">yes</property>
</widget>
<packing>
<property name="type">tab</property>