summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Dijkstra <[email protected]>2013-01-28 08:57:13 +0100
committerMarcel Dijkstra <[email protected]>2013-01-28 08:57:13 +0100
commit070e7cb765a788c8e27ff3615d3ed36981d3518d (patch)
treee62a89089959dd548a3e13c4fb490952d33da2ef
parent1fb9a904c698ea47886b576d9a15ffba2c100e7d (diff)
downloadmate-control-center-070e7cb765a788c8e27ff3615d3ed36981d3518d.tar.bz2
mate-control-center-070e7cb765a788c8e27ff3615d3ed36981d3518d.tar.xz
load inital 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);