diff options
author | Stefano Karapetsas <[email protected]> | 2013-01-25 13:41:13 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-01-25 13:41:13 -0800 |
commit | bbf4c3447a09a5e4be8307e3df3b3405781bead2 (patch) | |
tree | bc924a2c5961e629a55bd046765bc7c45e2b5ad0 /mate-dictionary/src/gdict-pref-dialog.h | |
parent | 3f783bbd74e1f94e97f91829480b32b05b6480c8 (diff) | |
parent | cc8a689bdeb46b3c9fe8247a72b05c8d97762474 (diff) | |
download | mate-utils-bbf4c3447a09a5e4be8307e3df3b3405781bead2.tar.bz2 mate-utils-bbf4c3447a09a5e4be8307e3df3b3405781bead2.tar.xz |
Merge pull request #18 from bhull2010/master
Port mate-dictionary to Gsettings
Diffstat (limited to 'mate-dictionary/src/gdict-pref-dialog.h')
-rw-r--r-- | mate-dictionary/src/gdict-pref-dialog.h | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/mate-dictionary/src/gdict-pref-dialog.h b/mate-dictionary/src/gdict-pref-dialog.h index 5abb345a..1b25884d 100644 --- a/mate-dictionary/src/gdict-pref-dialog.h +++ b/mate-dictionary/src/gdict-pref-dialog.h @@ -36,20 +36,14 @@ G_BEGIN_DECLS #define GDICT_DEFAULT_PRINT_FONT "Serif 10" #define GDICT_DEFAULT_SOURCE_NAME "Default" -#define GDICT_MATECONF_DIR "/apps/mate-dictionary" -#define GDICT_MATECONF_DATABASE_KEY GDICT_MATECONF_DIR "/database" -#define GDICT_MATECONF_STRATEGY_KEY GDICT_MATECONF_DIR "/strategy" -#define GDICT_MATECONF_PRINT_FONT_KEY GDICT_MATECONF_DIR "/print-font" -#define GDICT_MATECONF_SOURCE_KEY GDICT_MATECONF_DIR "/source-name" -#define GDICT_MATECONF_WINDOW_WIDTH_KEY GDICT_MATECONF_DIR "/default-window-width" -#define GDICT_MATECONF_WINDOW_HEIGHT_KEY GDICT_MATECONF_DIR "/default-window-height" -#define GDICT_MATECONF_WINDOW_IS_MAXIMIZED_KEY GDICT_MATECONF_DIR "/window-is-maximized" -#define GDICT_MATECONF_SIDEBAR_VISIBLE_KEY GDICT_MATECONF_DIR "/sidebar-visible" -#define GDICT_MATECONF_SIDEBAR_PAGE_KEY GDICT_MATECONF_DIR "/sidebar-page" -#define GDICT_MATECONF_SIDEBAR_WIDTH_KEY GDICT_MATECONF_DIR "/sidebar-width" -#define GDICT_MATECONF_STATUSBAR_VISIBLE_KEY GDICT_MATECONF_DIR "/statusbar-visible" - -#define DOCUMENT_FONT_KEY "/desktop/mate/interface/document_font_name" +#define GDICT_SETTINGS_SCHEMA "org.mate.dictionary" +#define GDICT_SETTINGS_DATABASE_KEY "database" +#define GDICT_SETTINGS_STRATEGY_KEY "strategy" +#define GDICT_SETTINGS_PRINT_FONT_KEY "print-font" +#define GDICT_SETTINGS_SOURCE_KEY "source-name" + +#define DESKTOP_SETTINGS_SCHEMA "org.mate.interface" +#define DOCUMENT_FONT_KEY "document-font-name" typedef struct _GdictPrefDialog GdictPrefDialog; typedef struct _GdictPrefDialogClass GdictPrefDialogClass; |