diff options
author | Dennis Cranston <dennis_cranston@yahoo.com> | 2006-01-12 12:55:37 +0000 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2006-01-12 12:55:37 +0000 |
commit | d590057ff6b2a29713c0cd40b79365e3c3391bb4 (patch) | |
tree | e0ac919081b6d647322debde7435e55c8a5f7538 | |
parent | 0bccc7a1cfcde05332d24d845a687d96d0479a16 (diff) | |
download | gnome-control-center-d590057ff6b2a29713c0cd40b79365e3c3391bb4.tar.gz |
Do not hardcode the height of the dialog. Add an alignment to
2006-01-11 Dennis Cranston <dennis_cranston@yahoo.com>
* capplets/sound/sound-properties-capplet.c: (create_dialog):
Do not hardcode the height of the dialog.
* capplets/sound/sound-properties.glade: Add an alignment to
-rw-r--r-- | ChangeLog | 12 | ||||
-rw-r--r-- | capplets/sound/sound-properties-capplet.c | 2 | ||||
-rw-r--r-- | capplets/sound/sound-properties.glade | 22 |
3 files changed, 31 insertions, 5 deletions
@@ -1,3 +1,15 @@ +2006-01-11 Dennis Cranston <dennis_cranston@yahoo.com> + + * capplets/sound/sound-properties-capplet.c: (create_dialog): + Do not hardcode the height of the dialog. + * capplets/sound/sound-properties.glade: Add an alignment to + set 18 pixels of space before starting the "System Sounds" + category. + * libsounds/sound-view.c: (play_preview_cb), (add_sound_item), + (sound_view_init): Indent the contents of the "System Sounds" + category. Use left alignment for combobox labels. Fix the + row and column spacing. + 2006-01-11 Sebastien Bacher <seb128@debian.org> * schemas/apps_gnome_settings_daemon_keybindings.schemas.in: diff --git a/capplets/sound/sound-properties-capplet.c b/capplets/sound/sound-properties-capplet.c index 425d67884..b45f5cc43 100644 --- a/capplets/sound/sound-properties-capplet.c +++ b/capplets/sound/sound-properties-capplet.c @@ -150,7 +150,7 @@ create_dialog (void) gtk_image_set_from_file (GTK_IMAGE (WID ("bell_image")), GNOMECC_DATA_DIR "/pixmaps/visual-bell.png"); - gtk_widget_set_size_request (widget, 425, 500); + gtk_widget_set_size_request (widget, 475, -1); if (!CheckXKB()) { GtkWidget *audible_bell_option = WID ("bell_audible_toggle"); diff --git a/capplets/sound/sound-properties.glade b/capplets/sound/sound-properties.glade index 4d47e7904..22202d62b 100644 --- a/capplets/sound/sound-properties.glade +++ b/capplets/sound/sound-properties.glade @@ -78,13 +78,27 @@ </child> <child> - <widget class="GtkVBox" id="events_vbox"> + <widget class="GtkAlignment" id="alignment4"> <property name="visible">True</property> - <property name="homogeneous">False</property> - <property name="spacing">0</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xscale">1</property> + <property name="yscale">1</property> + <property name="top_padding">12</property> + <property name="bottom_padding">0</property> + <property name="left_padding">0</property> + <property name="right_padding">0</property> <child> - <placeholder/> + <widget class="GtkVBox" id="events_vbox"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">0</property> + + <child> + <placeholder/> + </child> + </widget> </child> </widget> <packing> |