diff options
author | Stefano Karapetsas <[email protected]> | 2012-12-03 14:20:22 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-12-03 14:20:22 -0800 |
commit | a7aa069036f960a37cc6149ecdceab917dffa7a0 (patch) | |
tree | b47b0816e8ed67229eb5c5fb6de5b2178889ed12 /libcaja-private/caja-global-preferences.h | |
parent | 12908bcb598233adabd7492d92efdda3d2cbc47c (diff) | |
parent | 2665b684fda835cfa6a485b6e2c8c0a98190facb (diff) | |
download | caja-a7aa069036f960a37cc6149ecdceab917dffa7a0.tar.bz2 caja-a7aa069036f960a37cc6149ecdceab917dffa7a0.tar.xz |
Merge pull request #63 from jasmineaura/develop
Bring Caja up to speed, stage2
Diffstat (limited to 'libcaja-private/caja-global-preferences.h')
-rw-r--r-- | libcaja-private/caja-global-preferences.h | 106 |
1 files changed, 52 insertions, 54 deletions
diff --git a/libcaja-private/caja-global-preferences.h b/libcaja-private/caja-global-preferences.h index 0430a016..85fbe75f 100644 --- a/libcaja-private/caja-global-preferences.h +++ b/libcaja-private/caja-global-preferences.h @@ -30,79 +30,77 @@ G_BEGIN_DECLS - /* Whether exit when last window destroyed */ -#define CAJA_PREFERENCES_EXIT_WITH_LAST_WINDOW "exit-with-last-window" - - /* Desktop Background options */ -#define CAJA_PREFERENCES_BACKGROUND_SET "background-set" -#define CAJA_PREFERENCES_BACKGROUND_COLOR "background-color" -#define CAJA_PREFERENCES_BACKGROUND_URI "background-uri" - - /* Side Pane Background options */ -#define CAJA_PREFERENCES_SIDE_PANE_BACKGROUND_SET "side-pane-background-set" -#define CAJA_PREFERENCES_SIDE_PANE_BACKGROUND_COLOR "side-pane-background-color" -#define CAJA_PREFERENCES_SIDE_PANE_BACKGROUND_URI "side-pane-background-uri" - - /* Automount options */ -#define CAJA_PREFERENCES_MEDIA_AUTOMOUNT "automount" -#define CAJA_PREFERENCES_MEDIA_AUTOMOUNT_OPEN "automount-open" - - /* Autorun options */ -#define CAJA_PREFERENCES_MEDIA_AUTORUN_NEVER "autorun-never" -#define CAJA_PREFERENCES_MEDIA_AUTORUN_X_CONTENT_START_APP "autorun-x-content-start-app" -#define CAJA_PREFERENCES_MEDIA_AUTORUN_X_CONTENT_IGNORE "autorun-x-content-ignore" -#define CAJA_PREFERENCES_MEDIA_AUTORUN_X_CONTENT_OPEN_FOLDER "autorun-x-content-open-folder" - - /* Trash options */ +/* Whether exit when last window destroyed */ +#define CAJA_PREFERENCES_EXIT_WITH_LAST_WINDOW "exit-with-last-window" + +/* Desktop Background options */ +#define CAJA_PREFERENCES_BACKGROUND_SET "background-set" +#define CAJA_PREFERENCES_BACKGROUND_COLOR "background-color" +#define CAJA_PREFERENCES_BACKGROUND_URI "background-uri" + +/* Side Pane Background options */ +#define CAJA_PREFERENCES_SIDE_PANE_BACKGROUND_SET "side-pane-background-set" +#define CAJA_PREFERENCES_SIDE_PANE_BACKGROUND_COLOR "side-pane-background-color" +#define CAJA_PREFERENCES_SIDE_PANE_BACKGROUND_URI "side-pane-background-uri" + +/* Automount options */ +#define CAJA_PREFERENCES_MEDIA_AUTOMOUNT "automount" +#define CAJA_PREFERENCES_MEDIA_AUTOMOUNT_OPEN "automount-open" + +/* Autorun options */ +#define CAJA_PREFERENCES_MEDIA_AUTORUN_NEVER "autorun-never" +#define CAJA_PREFERENCES_MEDIA_AUTORUN_X_CONTENT_START_APP "autorun-x-content-start-app" +#define CAJA_PREFERENCES_MEDIA_AUTORUN_X_CONTENT_IGNORE "autorun-x-content-ignore" +#define CAJA_PREFERENCES_MEDIA_AUTORUN_X_CONTENT_OPEN_FOLDER "autorun-x-content-open-folder" + +/* Trash options */ #define CAJA_PREFERENCES_CONFIRM_TRASH "confirm-trash" #define CAJA_PREFERENCES_ENABLE_DELETE "enable-delete" - /* Desktop options */ -#define CAJA_PREFERENCES_SHOW_DESKTOP "show-desktop" -#define CAJA_PREFERENCES_DESKTOP_IS_HOME_DIR "desktop-is-home-dir" +/* Desktop options */ +#define CAJA_PREFERENCES_DESKTOP_IS_HOME_DIR "desktop-is-home-dir" - /* Display */ +/* Display */ #define CAJA_PREFERENCES_SHOW_HIDDEN_FILES "show-hidden-files" #define CAJA_PREFERENCES_SHOW_ADVANCED_PERMISSIONS "show-advanced-permissions" -#define CAJA_PREFERENCES_DATE_FORMAT "date-format" +#define CAJA_PREFERENCES_DATE_FORMAT "date-format" - /* Mouse */ +/* Mouse */ #define CAJA_PREFERENCES_MOUSE_USE_EXTRA_BUTTONS "mouse-use-extra-buttons" #define CAJA_PREFERENCES_MOUSE_FORWARD_BUTTON "mouse-forward-button" -#define CAJA_PREFERENCES_MOUSE_BACK_BUTTON "mouse-back-button" - - typedef enum - { - CAJA_DATE_FORMAT_LOCALE, - CAJA_DATE_FORMAT_ISO, - CAJA_DATE_FORMAT_INFORMAL - } - CajaDateFormat; - - typedef enum - { - CAJA_NEW_TAB_POSITION_AFTER_CURRENT_TAB, - CAJA_NEW_TAB_POSITION_END, - } CajaNewTabPosition; - - /* Sidebar panels */ +#define CAJA_PREFERENCES_MOUSE_BACK_BUTTON "mouse-back-button" + +typedef enum +{ + CAJA_DATE_FORMAT_LOCALE, + CAJA_DATE_FORMAT_ISO, + CAJA_DATE_FORMAT_INFORMAL +} CajaDateFormat; + +typedef enum +{ + CAJA_NEW_TAB_POSITION_AFTER_CURRENT_TAB, + CAJA_NEW_TAB_POSITION_END, +} CajaNewTabPosition; + +/* Sidebar panels */ #define CAJA_PREFERENCES_TREE_SHOW_ONLY_DIRECTORIES "show-only-directories" - /* Single/Double click preference */ +/* Single/Double click preference */ #define CAJA_PREFERENCES_CLICK_POLICY "click-policy" - /* Activating executable text files */ +/* Activating executable text files */ #define CAJA_PREFERENCES_EXECUTABLE_TEXT_ACTIVATION "executable-text-activation" - /* Installing new packages when unknown mime type activated */ +/* Installing new packages when unknown mime type activated */ #define CAJA_PREFERENCES_INSTALL_MIME_ACTIVATION "install-mime-activation" - /* Spatial or browser mode */ +/* Spatial or browser mode */ #define CAJA_PREFERENCES_ALWAYS_USE_BROWSER "always-use-browser" #define CAJA_PREFERENCES_NEW_TAB_POSITION "tabs-open-position" #define CAJA_PREFERENCES_ALWAYS_USE_LOCATION_ENTRY "always-use-location-entry" - /* Which views should be displayed for new windows */ +/* Which views should be displayed for new windows */ #define CAJA_WINDOW_STATE_START_WITH_LOCATION_BAR "start-with-location-bar" #define CAJA_WINDOW_STATE_START_WITH_STATUS_BAR "start-with-status-bar" #define CAJA_WINDOW_STATE_START_WITH_SIDEBAR "start-with-sidebar" @@ -112,12 +110,12 @@ G_BEGIN_DECLS #define CAJA_WINDOW_STATE_MAXIMIZED "maximized" #define CAJA_WINDOW_STATE_SIDEBAR_WIDTH "sidebar-width" - /* Sorting order */ +/* Sorting order */ #define CAJA_PREFERENCES_SORT_DIRECTORIES_FIRST "sort-directories-first" #define CAJA_PREFERENCES_DEFAULT_SORT_ORDER "default-sort-order" #define CAJA_PREFERENCES_DEFAULT_SORT_IN_REVERSE_ORDER "default-sort-in-reverse-order" - /* The default folder viewer - one of the two enums below */ +/* The default folder viewer - one of the two enums below */ #define CAJA_PREFERENCES_DEFAULT_FOLDER_VIEWER "default-folder-viewer" enum |