diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2008-07-18 04:19:43 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2009-06-12 00:06:30 +0800 |
commit | 294a19437a0ac22d5853dd1ec0934042fcd86360 (patch) | |
tree | 8237f21a613315e7c3275e36255eafc49e94789b /libempathy-gtk | |
parent | afbb47911c8b0e82bb05fdb826fc056d9da10555 (diff) | |
download | gsoc2013-empathy-294a19437a0ac22d5853dd1ec0934042fcd86360.tar gsoc2013-empathy-294a19437a0ac22d5853dd1ec0934042fcd86360.tar.gz gsoc2013-empathy-294a19437a0ac22d5853dd1ec0934042fcd86360.tar.bz2 gsoc2013-empathy-294a19437a0ac22d5853dd1ec0934042fcd86360.tar.lz gsoc2013-empathy-294a19437a0ac22d5853dd1ec0934042fcd86360.tar.xz gsoc2013-empathy-294a19437a0ac22d5853dd1ec0934042fcd86360.tar.zst gsoc2013-empathy-294a19437a0ac22d5853dd1ec0934042fcd86360.zip |
Add UI in the preference dialog to select the path to adium theme
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-conf.h | 1 | ||||
-rw-r--r-- | libempathy-gtk/empathy-theme-adium.c | 6 | ||||
-rw-r--r-- | libempathy-gtk/empathy-theme-adium.h | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-conf.h b/libempathy-gtk/empathy-conf.h index 07026df5c..47949139e 100644 --- a/libempathy-gtk/empathy-conf.h +++ b/libempathy-gtk/empathy-conf.h @@ -60,6 +60,7 @@ struct _EmpathyConfClass { #define EMPATHY_PREFS_POPUPS_WHEN_AVAILABLE EMPATHY_PREFS_PATH "/notifications/popups_when_available" #define EMPATHY_PREFS_CHAT_SHOW_SMILEYS EMPATHY_PREFS_PATH "/conversation/graphical_smileys" #define EMPATHY_PREFS_CHAT_THEME EMPATHY_PREFS_PATH "/conversation/theme" +#define EMPATHY_PREFS_CHAT_ADIUM_PATH EMPATHY_PREFS_PATH "/conversation/adium_path" #define EMPATHY_PREFS_CHAT_SPELL_CHECKER_LANGUAGES EMPATHY_PREFS_PATH "/conversation/spell_checker_languages" #define EMPATHY_PREFS_CHAT_SPELL_CHECKER_ENABLED EMPATHY_PREFS_PATH "/conversation/spell_checker_enabled" #define EMPATHY_PREFS_CHAT_NICK_COMPLETION_CHAR EMPATHY_PREFS_PATH "/conversation/nick_completion_char" diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c index 876744018..a878715b6 100644 --- a/libempathy-gtk/empathy-theme-adium.c +++ b/libempathy-gtk/empathy-theme-adium.c @@ -580,3 +580,9 @@ empathy_theme_adium_new (void) return g_object_new (EMPATHY_TYPE_THEME_ADIUM, NULL); } +gboolean +empathy_theme_adium_is_valid (const gchar *path) +{ + return TRUE; +} + diff --git a/libempathy-gtk/empathy-theme-adium.h b/libempathy-gtk/empathy-theme-adium.h index c31105a1b..24fe986f6 100644 --- a/libempathy-gtk/empathy-theme-adium.h +++ b/libempathy-gtk/empathy-theme-adium.h @@ -49,6 +49,7 @@ struct _EmpathyThemeAdiumClass { GType empathy_theme_adium_get_type (void) G_GNUC_CONST; EmpathyThemeAdium *empathy_theme_adium_new (void); +gboolean empathy_theme_adium_is_valid (const gchar *path); G_END_DECLS |