summaryrefslogtreecommitdiff
path: root/capplets/appearance/appearance-main.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-01-02 20:17:06 +0100
committerStefano Karapetsas <[email protected]>2013-01-02 20:17:06 +0100
commit088a9625513cc7cb5c8b4d5f18573c4ae42b488f (patch)
treeb78d88a6059f64820d76dfa07b472b12a4e33219 /capplets/appearance/appearance-main.c
parent17d2ea57491246b3ac68d94d9a1cd29a91b5409b (diff)
downloadmate-control-center-088a9625513cc7cb5c8b4d5f18573c4ae42b488f.tar.bz2
mate-control-center-088a9625513cc7cb5c8b4d5f18573c4ae42b488f.tar.xz
appearance: Set metacity theme if compiz or metacity are running
Diffstat (limited to 'capplets/appearance/appearance-main.c')
-rw-r--r--capplets/appearance/appearance-main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/capplets/appearance/appearance-main.c b/capplets/appearance/appearance-main.c
index 6ff41249..65e703ad 100644
--- a/capplets/appearance/appearance-main.c
+++ b/capplets/appearance/appearance-main.c
@@ -24,6 +24,7 @@
#include "appearance-font.h"
#include "appearance-themes.h"
#include "appearance-style.h"
+#include "appearance-support.h"
#include "theme-installer.h"
#include "theme-thumbnail.h"
#include "activate-settings-daemon.h"
@@ -90,6 +91,7 @@ main_window_response (GtkWidget *widget,
style_shutdown (data);
desktop_shutdown (data);
font_shutdown (data);
+ support_shutdown (data);
g_object_unref (data->thumb_factory);
g_object_unref (data->settings);
@@ -183,6 +185,9 @@ main (int argc, char **argv)
g_strfreev (wallpaper_files);
font_init (data);
+ /* init support for other window managers */
+ support_init (data);
+
/* prepare the main window */
w = appearance_capplet_get_widget (data, "appearance_window");
capplet_set_icon (w, "preferences-desktop-theme");