aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-theme-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-theme-manager.c')
-rw-r--r--libempathy-gtk/empathy-theme-manager.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-theme-manager.c b/libempathy-gtk/empathy-theme-manager.c
index fe4e241e6..eebbd3105 100644
--- a/libempathy-gtk/empathy-theme-manager.c
+++ b/libempathy-gtk/empathy-theme-manager.c
@@ -35,10 +35,13 @@
#include "empathy-chat-view.h"
#include "empathy-conf.h"
#include "empathy-chat-text-view.h"
-#include "empathy-theme-adium.h"
#include "empathy-theme-boxes.h"
#include "empathy-theme-irc.h"
+#ifdef HAVE_WEBKIT
+#include "empathy-theme-adium.h"
+#endif
+
#define DEBUG_FLAG EMPATHY_DEBUG_OTHER
#include <libempathy/empathy-debug.h>
@@ -62,7 +65,9 @@ static const gchar *themes[] = {
"simple", N_("Simple"),
"clean", N_("Clean"),
"blue", N_("Blue"),
+#ifdef HAVE_WEBKIT
"adium", N_("Adium"),
+#endif
NULL
};
@@ -323,9 +328,11 @@ empathy_theme_manager_create_view (EmpathyThemeManager *manager)
if (strcmp (priv->name, "classic") == 0) {
return EMPATHY_CHAT_VIEW (theme_manager_create_irc_view (manager));
}
+#ifdef HAVE_WEBKIT
if (strcmp (priv->name, "adium") == 0) {
return EMPATHY_CHAT_VIEW (empathy_theme_adium_new ());
}
+#endif
theme = theme_manager_create_boxes_view (manager);
theme_manager_update_boxes_theme (manager, theme);