diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-08-03 23:49:10 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-08-04 17:10:20 +0800 |
commit | 2e7a0efc837d4b38290dffbd04a1c9d70df64db2 (patch) | |
tree | c779badde862e83bac3fa393bafa4183c584f6ba /src/empathy-preferences.h | |
parent | d801233c1f25596c429d75d03ec6282d1b3828e2 (diff) | |
download | gsoc2013-empathy-2e7a0efc837d4b38290dffbd04a1c9d70df64db2.tar gsoc2013-empathy-2e7a0efc837d4b38290dffbd04a1c9d70df64db2.tar.gz gsoc2013-empathy-2e7a0efc837d4b38290dffbd04a1c9d70df64db2.tar.bz2 gsoc2013-empathy-2e7a0efc837d4b38290dffbd04a1c9d70df64db2.tar.lz gsoc2013-empathy-2e7a0efc837d4b38290dffbd04a1c9d70df64db2.tar.xz gsoc2013-empathy-2e7a0efc837d4b38290dffbd04a1c9d70df64db2.tar.zst gsoc2013-empathy-2e7a0efc837d4b38290dffbd04a1c9d70df64db2.zip |
Use the new enum everywhere
And use strings for the --show-preferences argument.
Diffstat (limited to 'src/empathy-preferences.h')
-rw-r--r-- | src/empathy-preferences.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/empathy-preferences.h b/src/empathy-preferences.h index 707c5e81d..daaaecc0b 100644 --- a/src/empathy-preferences.h +++ b/src/empathy-preferences.h @@ -61,15 +61,21 @@ typedef enum EMPATHY_PREFERENCES_TAB_THEMES, } EmpathyPreferencesTab; +#define EMPATHY_PREFERENCES_STR_TAB_GENERAL "general" +#define EMPATHY_PREFERENCES_STR_TAB_NOTIFICATIONS "notifications" +#define EMPATHY_PREFERENCES_STR_TAB_SOUNDS "sounds" +#define EMPATHY_PREFERENCES_STR_TAB_CALLS "calls" +#define EMPATHY_PREFERENCES_STR_TAB_LOCATION "location" +#define EMPATHY_PREFERENCES_STR_TAB_SPELL "spell" +#define EMPATHY_PREFERENCES_STR_TAB_THEMES "themes" + GType empathy_preferences_get_type (void); GtkWidget *empathy_preferences_new (GtkWindow *parent); void empathy_preferences_show_tab (EmpathyPreferences *self, - gint tab); + const gchar *tab); G_END_DECLS #endif /* __EMPATHY_PREFERENCES_H__ */ - - |