[
WebKitGtk
], have_webkit="yes", have_webkit="no")
+
+ if test "x$have_webkit" = "xyes"; then
+ AC_DEFINE(HAVE_WEBKIT, 1, [Define if you have libwebkitgtk])
+ fi
else
have_webkit=no
fi
empathy-smiley-manager.c \
empathy-spell.c \
empathy-status-preset-dialog.c \
- empathy-theme-adium.c \
empathy-theme-boxes.c \
empathy-theme-irc.c \
empathy-theme-manager.c \
empathy-smiley-manager.h \
empathy-spell.h \
empathy-status-preset-dialog.h \
- empathy-theme-adium.h \
empathy-theme-boxes.h \
empathy-theme-irc.h \
empathy-theme-manager.h \
$(libempathy_gtk_headers) \
empathy-gtk-enum-types.h
+if HAVE_WEBKIT
+libempathy_gtk_headers += empathy-theme-adium.h
+libempathy_gtk_la_SOURCES += empathy-theme-adium.c
+endif
+
uidir = $(datadir)/empathy
ui_DATA = \
empathy-contact-widget.ui \
#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>
"simple", N_("Simple"),
"clean", N_("Clean"),
"blue", N_("Blue"),
+#ifdef HAVE_WEBKIT
"adium", N_("Adium"),
+#endif
NULL
};
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);