summaryrefslogtreecommitdiff
path: root/src/eom-config-keys.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-10-21 20:05:05 +0200
committerStefano Karapetsas <[email protected]>2012-10-21 20:05:05 +0200
commit7aa0154907fd96dd26fc510bab7aaf1eb17dfd90 (patch)
treeb1956eaad3941b1e59bc85d807433d8d0a3be948 /src/eom-config-keys.h
parent1858cda88bcf787340b9a13e5912b0fe1cf9df39 (diff)
downloadeom-7aa0154907fd96dd26fc510bab7aaf1eb17dfd90.tar.bz2
eom-7aa0154907fd96dd26fc510bab7aaf1eb17dfd90.tar.xz
migrate to gsettings
Diffstat (limited to 'src/eom-config-keys.h')
-rw-r--r--src/eom-config-keys.h78
1 files changed, 42 insertions, 36 deletions
diff --git a/src/eom-config-keys.h b/src/eom-config-keys.h
index f96503b..c4a35ae 100644
--- a/src/eom-config-keys.h
+++ b/src/eom-config-keys.h
@@ -1,12 +1,13 @@
-/* Eye Of Mate - MateConf Keys Macros
+/* Eye Of Mate - GSettings Keys and Schemas definitions
*
* Copyright (C) 2000-2006 The Free Software Foundation
*
* Author: Lucas Rocha <[email protected]>
+ * Stefano Karapetsas <[email protected]>
*
* Based on code by:
- * - Federico Mena-Quintero <[email protected]>
- * - Jens Finke <[email protected]>
+ * - Federico Mena-Quintero <[email protected]>
+ * - Jens Finke <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -26,38 +27,43 @@
#ifndef __EOM_CONFIG_KEYS_H__
#define __EOM_CONFIG_KEYS_H__
-#define EOM_CONF_DIR "/apps/eom"
-
-#define EOM_CONF_DESKTOP_WALLPAPER "/desktop/mate/background/picture_filename"
-#define EOM_CONF_DESKTOP_CAN_SAVE "/desktop/mate/lockdown/disable_save_to_disk"
-#define EOM_CONF_DESKTOP_CAN_PRINT "/desktop/mate/lockdown/disable_printing"
-#define EOM_CONF_DESKTOP_CAN_SETUP_PAGE "/desktop/mate/lockdown/disable_print_setup"
-
-#define EOM_CONF_VIEW_BACKGROUND_COLOR "/apps/eom/view/background-color"
-#define EOM_CONF_VIEW_INTERPOLATE "/apps/eom/view/interpolate"
-#define EOM_CONF_VIEW_EXTRAPOLATE "/apps/eom/view/extrapolate"
-#define EOM_CONF_VIEW_SCROLL_WHEEL_ZOOM "/apps/eom/view/scroll_wheel_zoom"
-#define EOM_CONF_VIEW_ZOOM_MULTIPLIER "/apps/eom/view/zoom_multiplier"
-#define EOM_CONF_VIEW_AUTOROTATE "/apps/eom/view/autorotate"
-#define EOM_CONF_VIEW_TRANSPARENCY "/apps/eom/view/transparency"
-#define EOM_CONF_VIEW_TRANS_COLOR "/apps/eom/view/trans_color"
-#define EOM_CONF_VIEW_USE_BG_COLOR "/apps/eom/view/use-background-color"
-
-#define EOM_CONF_FULLSCREEN_LOOP "/apps/eom/full_screen/loop"
-#define EOM_CONF_FULLSCREEN_UPSCALE "/apps/eom/full_screen/upscale"
-#define EOM_CONF_FULLSCREEN_SECONDS "/apps/eom/full_screen/seconds"
-
-#define EOM_CONF_UI_TOOLBAR "/apps/eom/ui/toolbar"
-#define EOM_CONF_UI_STATUSBAR "/apps/eom/ui/statusbar"
-#define EOM_CONF_UI_IMAGE_COLLECTION "/apps/eom/ui/image_collection"
-#define EOM_CONF_UI_IMAGE_COLLECTION_POSITION "/apps/eom/ui/image_collection_position"
-#define EOM_CONF_UI_IMAGE_COLLECTION_RESIZABLE "/apps/eom/ui/image_collection_resizable"
-#define EOM_CONF_UI_SIDEBAR "/apps/eom/ui/sidebar"
-#define EOM_CONF_UI_SCROLL_BUTTONS "/apps/eom/ui/scroll_buttons"
-#define EOM_CONF_UI_DISABLE_TRASH_CONFIRMATION "/apps/eom/ui/disable_trash_confirmation"
-#define EOM_CONF_UI_FILECHOOSER_XDG_FALLBACK "/apps/eom/ui/filechooser_xdg_fallback"
-#define EOM_CONF_UI_PROPSDIALOG_NETBOOK_MODE "/apps/eom/ui/propsdialog_netbook_mode"
-
-#define EOM_CONF_PLUGINS_ACTIVE_PLUGINS "/apps/eom/plugins/active_plugins"
+#define EOM_CONF_BACKGROUND_SCHEMA "org.mate.background"
+#define EOM_CONF_BACKGROUND_FILE "picture-filename"
+
+#define EOM_CONF_LOCKDOWN_SCHEMA "org.mate.lockdown"
+#define EOM_CONF_LOCKDOWN_CAN_SAVE "disable-save-to-disk"
+#define EOM_CONF_LOCKDOWN_CAN_PRINT "disable-printing"
+#define EOM_CONF_LOCKDOWN_CAN_SETUP_PAGE "disable-print-setup"
+
+#define EOM_CONF_VIEW_SCHEMA "org.mate.eom.view"
+#define EOM_CONF_VIEW_BACKGROUND_COLOR "background-color"
+#define EOM_CONF_VIEW_INTERPOLATE "interpolate"
+#define EOM_CONF_VIEW_EXTRAPOLATE "extrapolate"
+#define EOM_CONF_VIEW_SCROLL_WHEEL_ZOOM "scroll-wheel-zoom"
+#define EOM_CONF_VIEW_ZOOM_MULTIPLIER "zoom-multiplier"
+#define EOM_CONF_VIEW_AUTOROTATE "autorotate"
+#define EOM_CONF_VIEW_TRANSPARENCY "transparency"
+#define EOM_CONF_VIEW_TRANS_COLOR "trans-color"
+#define EOM_CONF_VIEW_USE_BG_COLOR "use-background-color"
+
+#define EOM_CONF_FULLSCREEN_SCHEMA "org.mate.eom.full-screen"
+#define EOM_CONF_FULLSCREEN_LOOP "loop"
+#define EOM_CONF_FULLSCREEN_UPSCALE "upscale"
+#define EOM_CONF_FULLSCREEN_SECONDS "seconds"
+
+#define EOM_CONF_UI_SCHEMA "org.mate.eom.ui"
+#define EOM_CONF_UI_TOOLBAR "toolbar"
+#define EOM_CONF_UI_STATUSBAR "statusbar"
+#define EOM_CONF_UI_IMAGE_COLLECTION "image-collection"
+#define EOM_CONF_UI_IMAGE_COLLECTION_POSITION "image-collection-position"
+#define EOM_CONF_UI_IMAGE_COLLECTION_RESIZABLE "image-collection-resizable"
+#define EOM_CONF_UI_SIDEBAR "sidebar"
+#define EOM_CONF_UI_SCROLL_BUTTONS "scroll-buttons"
+#define EOM_CONF_UI_DISABLE_TRASH_CONFIRMATION "disable-trash-confirmation"
+#define EOM_CONF_UI_FILECHOOSER_XDG_FALLBACK "filechooser-xdg-fallback"
+#define EOM_CONF_UI_PROPSDIALOG_NETBOOK_MODE "propsdialog-netbook-mode"
+
+#define EOM_CONF_PLUGINS_SCHEMA "org.mate.eom.plugins"
+#define EOM_CONF_PLUGINS_ACTIVE_PLUGINS "active-plugins"
#endif /* __EOM_CONFIG_KEYS_H__ */