summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-02-16 13:11:07 -0800
committerStefano Karapetsas <[email protected]>2013-02-16 13:11:07 -0800
commitbe341ab0f1a68554e7e2d412baf052ce8a9996fa (patch)
treec0de85790d4208b884b4cffb9e4808b9f88b1d1e
parentf5bcee8e06ce78b07976ebaa17218d06f38e42c6 (diff)
parent070e7cb765a788c8e27ff3615d3ed36981d3518d (diff)
downloadmate-control-center-be341ab0f1a68554e7e2d412baf052ce8a9996fa.tar.bz2
mate-control-center-be341ab0f1a68554e7e2d412baf052ce8a9996fa.tar.xz
Merge pull request #31 from MDykstra/master
load initial defaults from theme
-rw-r--r--capplets/appearance/appearance-style.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/capplets/appearance/appearance-style.c b/capplets/appearance/appearance-style.c
index 6ae5bd24..aef4c720 100644
--- a/capplets/appearance/appearance-style.c
+++ b/capplets/appearance/appearance-style.c
@@ -1032,6 +1032,11 @@ style_init (AppearanceData *data)
prepare_list (data, appearance_capplet_get_widget (data, "icon_themes_list"), THEME_TYPE_ICON, (GCallback) icon_theme_changed);
prepare_list (data, appearance_capplet_get_widget (data, "cursor_themes_list"), THEME_TYPE_CURSOR, (GCallback) cursor_theme_changed);
+ window_theme_changed (data->marco_settings, MARCO_THEME_KEY, data);
+ gtk_theme_changed (data->interface_settings, GTK_THEME_KEY, data);
+ icon_theme_changed (data->icon_theme_icon, ICON_THEME_KEY, data);
+ cursor_theme_changed (data->mouse_settings, CURSOR_THEME_KEY, data);
+
w = appearance_capplet_get_widget (data, "color_scheme_message_hbox");
gtk_widget_set_no_show_all (w, TRUE);