fix various string and layout issues (bug #521826)
2008-03-27 Jens Granseuer <jensgr@gmx.net> * gnome-keyboard-properties-a11y.c: (setup_a11y_tabs): * gnome-keyboard-properties.c: (create_dialog), (setup_dialog): * gnome-keyboard-properties.glade: fix various string and layout issues (bug #521826) svn path=/trunk/; revision=8600
This commit is contained in:
parent
23326ef678
commit
c4ec1346ad
4 changed files with 20 additions and 45 deletions
|
@ -72,19 +72,17 @@ create_dialog (void)
|
|||
size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
|
||||
gtk_size_group_add_widget (size_group, WID ("repeat_delay_scale"));
|
||||
gtk_size_group_add_widget (size_group, WID ("repeat_speed_scale"));
|
||||
gtk_size_group_add_widget (size_group,
|
||||
WID ("cursor_blink_time_scale"));
|
||||
gtk_size_group_add_widget (size_group, WID ("cursor_blink_time_scale"));
|
||||
g_object_unref (G_OBJECT (size_group));
|
||||
|
||||
image =
|
||||
gtk_image_new_from_stock (GTK_STOCK_ADD, GTK_ICON_SIZE_BUTTON);
|
||||
image = gtk_image_new_from_stock (GTK_STOCK_ADD, GTK_ICON_SIZE_BUTTON);
|
||||
gtk_button_set_image (GTK_BUTTON (WID ("xkb_layouts_add")), image);
|
||||
|
||||
image =
|
||||
gtk_image_new_from_stock (GTK_STOCK_REFRESH,
|
||||
GTK_ICON_SIZE_BUTTON);
|
||||
gtk_button_set_image (GTK_BUTTON (WID ("xkb_reset_to_defaults")),
|
||||
image);
|
||||
image = gtk_image_new_from_stock (GTK_STOCK_REFRESH, GTK_ICON_SIZE_BUTTON);
|
||||
gtk_button_set_image (GTK_BUTTON (WID ("xkb_reset_to_defaults")), image);
|
||||
|
||||
image = gtk_image_new_from_icon_name ("gnome-settings-sound", GTK_ICON_SIZE_BUTTON);
|
||||
gtk_button_set_image (GTK_BUTTON (WID ("notifications_button")), image);
|
||||
|
||||
return dialog;
|
||||
}
|
||||
|
@ -181,9 +179,6 @@ setup_dialog (GladeXML * dialog, GConfChangeSet * changeset)
|
|||
WID ("break_postponement_toggle"),
|
||||
NULL);
|
||||
|
||||
gtk_label_set_use_markup (GTK_LABEL (GTK_BIN (WID ("break_enabled_toggle"))->child),
|
||||
TRUE);
|
||||
|
||||
} else {
|
||||
/* don't show the typing break tab if the daemon is not available */
|
||||
GtkNotebook *nb = GTK_NOTEBOOK (WID ("keyboard_notebook"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue