aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-04-12 23:07:16 +0800
committerXan Lopez <xan@igalia.com>2012-04-12 23:07:16 +0800
commit9a0063cedde9bc02adc91c346a555ce1c0639c0c (patch)
treed09a727549b2f3702a65e961cda92a642313ee7a
parentbb759160ad593489d9b51488916a0fd8734136ca (diff)
downloadgsoc2013-epiphany-9a0063cedde9bc02adc91c346a555ce1c0639c0c.tar.gz
gsoc2013-epiphany-9a0063cedde9bc02adc91c346a555ce1c0639c0c.tar.zst
gsoc2013-epiphany-9a0063cedde9bc02adc91c346a555ce1c0639c0c.zip
ephy-prefs: use new coding style
-rw-r--r--lib/ephy-prefs.h155
1 files changed, 78 insertions, 77 deletions
diff --git a/lib/ephy-prefs.h b/lib/ephy-prefs.h
index e16f82c6a..bc95b3564 100644
--- a/lib/ephy-prefs.h
+++ b/lib/ephy-prefs.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* Copyright © 2000-2003 Marco Pesenti Gritti
* Copyright © 2010 Igalia S.L.
@@ -29,101 +30,101 @@ G_BEGIN_DECLS
typedef enum
{
- EPHY_PREFS_UI_TOOLBAR_STYLE_BOTH,
- EPHY_PREFS_UI_TOOLBAR_STYLE_BOTH_HORIZ,
- EPHY_PREFS_UI_TOOLBAR_STYLE_ICONS,
- EPHY_PREFS_UI_TOOLBAR_STYLE_TEXT
+ EPHY_PREFS_UI_TOOLBAR_STYLE_BOTH,
+ EPHY_PREFS_UI_TOOLBAR_STYLE_BOTH_HORIZ,
+ EPHY_PREFS_UI_TOOLBAR_STYLE_ICONS,
+ EPHY_PREFS_UI_TOOLBAR_STYLE_TEXT
} EphyPrefsUIToolbarStyle;
typedef enum
{
- EPHY_PREFS_RESTORE_SESSION_POLICY_ALWAYS,
- EPHY_PREFS_RESTORE_SESSION_POLICY_NEVER
+ EPHY_PREFS_RESTORE_SESSION_POLICY_ALWAYS,
+ EPHY_PREFS_RESTORE_SESSION_POLICY_NEVER
} EphyPrefsRestoreSessionPolicy;
typedef enum
{
- EPHY_PREFS_WEB_COOKIES_POLICY_ALWAYS,
- EPHY_PREFS_WEB_COOKIES_POLICY_NO_THIRD_PARTY,
- EPHY_PREFS_WEB_COOKIES_POLICY_NEVER
+ EPHY_PREFS_WEB_COOKIES_POLICY_ALWAYS,
+ EPHY_PREFS_WEB_COOKIES_POLICY_NO_THIRD_PARTY,
+ EPHY_PREFS_WEB_COOKIES_POLICY_NEVER
} EphyPrefsWebCookiesPolicy;
typedef enum
{
- EPHY_PREFS_STATE_HISTORY_DATE_FILTER_LAST_HALF_HOUR,
- EPHY_PREFS_STATE_HISTORY_DATE_FILTER_TODAY,
- EPHY_PREFS_STATE_HISTORY_DATE_FILTER_LAST_TWO_DAYS,
- EPHY_PREFS_STATE_HISTORY_DATE_FILTER_LAST_THREE_DAYS,
- EPHY_PREFS_STATE_HISTORY_DATE_FILTER_LAST_TEN_DAYS,
- EPHY_PREFS_STATE_HISTORY_DATE_FILTER_EVER,
+ EPHY_PREFS_STATE_HISTORY_DATE_FILTER_LAST_HALF_HOUR,
+ EPHY_PREFS_STATE_HISTORY_DATE_FILTER_TODAY,
+ EPHY_PREFS_STATE_HISTORY_DATE_FILTER_LAST_TWO_DAYS,
+ EPHY_PREFS_STATE_HISTORY_DATE_FILTER_LAST_THREE_DAYS,
+ EPHY_PREFS_STATE_HISTORY_DATE_FILTER_LAST_TEN_DAYS,
+ EPHY_PREFS_STATE_HISTORY_DATE_FILTER_EVER,
} EphyPrefsStateHistoryDateFilter;
-#define EPHY_PREFS_UI_SCHEMA "org.gnome.Epiphany.ui"
-#define EPHY_PREFS_UI_ALWAYS_SHOW_TABS_BAR "always-show-tabs-bar"
-#define EPHY_PREFS_UI_SHOW_TOOLBARS "show-toolbars"
-#define EPHY_PREFS_UI_TOOLBAR_STYLE "toolbar-style"
-#define EPHY_PREFS_UI_DOWNLOADS_HIDDEN "downloads-hidden"
+#define EPHY_PREFS_UI_SCHEMA "org.gnome.Epiphany.ui"
+#define EPHY_PREFS_UI_ALWAYS_SHOW_TABS_BAR "always-show-tabs-bar"
+#define EPHY_PREFS_UI_SHOW_TOOLBARS "show-toolbars"
+#define EPHY_PREFS_UI_TOOLBAR_STYLE "toolbar-style"
+#define EPHY_PREFS_UI_DOWNLOADS_HIDDEN "downloads-hidden"
-#define EPHY_PREFS_STATE_SCHEMA "org.gnome.Epiphany.state"
-#define EPHY_PREFS_STATE_SAVE_DIR "save-dir"
-#define EPHY_PREFS_STATE_SAVE_IMAGE_DIR "save-image-dir"
-#define EPHY_PREFS_STATE_OPEN_DIR "open-dir"
-#define EPHY_PREFS_STATE_DOWNLOAD_DIR "download-dir"
-#define EPHY_PREFS_STATE_UPLOAD_DIR "upload-dir"
-#define EPHY_PREFS_STATE_RECENT_ENCODINGS "recent-encodings"
-#define EPHY_PREFS_STATE_BOOKMARKS_VIEW_TITLE "bookmarks-view-title"
-#define EPHY_PREFS_STATE_BOOKMARKS_VIEW_ADDRESS "bookmarks-view-address"
-#define EPHY_PREFS_STATE_HISTORY_VIEW_TITLE "history-view-title"
-#define EPHY_PREFS_STATE_HISTORY_VIEW_ADDRESS "history-view-address"
-#define EPHY_PREFS_STATE_HISTORY_VIEW_DATE "history-view-date"
-#define EPHY_PREFS_STATE_HISTORY_DATE_FILTER "history-date-filter"
+#define EPHY_PREFS_STATE_SCHEMA "org.gnome.Epiphany.state"
+#define EPHY_PREFS_STATE_SAVE_DIR "save-dir"
+#define EPHY_PREFS_STATE_SAVE_IMAGE_DIR "save-image-dir"
+#define EPHY_PREFS_STATE_OPEN_DIR "open-dir"
+#define EPHY_PREFS_STATE_DOWNLOAD_DIR "download-dir"
+#define EPHY_PREFS_STATE_UPLOAD_DIR "upload-dir"
+#define EPHY_PREFS_STATE_RECENT_ENCODINGS "recent-encodings"
+#define EPHY_PREFS_STATE_BOOKMARKS_VIEW_TITLE "bookmarks-view-title"
+#define EPHY_PREFS_STATE_BOOKMARKS_VIEW_ADDRESS "bookmarks-view-address"
+#define EPHY_PREFS_STATE_HISTORY_VIEW_TITLE "history-view-title"
+#define EPHY_PREFS_STATE_HISTORY_VIEW_ADDRESS "history-view-address"
+#define EPHY_PREFS_STATE_HISTORY_VIEW_DATE "history-view-date"
+#define EPHY_PREFS_STATE_HISTORY_DATE_FILTER "history-date-filter"
-#define EPHY_PREFS_WEB_SCHEMA "org.gnome.Epiphany.web"
-#define EPHY_PREFS_WEB_FONT_MIN_SIZE "min-font-size"
-#define EPHY_PREFS_WEB_LANGUAGE "language"
-#define EPHY_PREFS_WEB_USE_OWN_FONTS "use-own-fonts"
-#define EPHY_PREFS_WEB_USE_GNOME_FONTS "use-gnome-fonts"
-#define EPHY_PREFS_WEB_SANS_SERIF_FONT "sans-serif-font"
-#define EPHY_PREFS_WEB_SERIF_FONT "serif-font"
-#define EPHY_PREFS_WEB_MONOSPACE_FONT "monospace-font"
-#define EPHY_PREFS_WEB_USE_OWN_COLORS "use-own-colors"
-#define EPHY_PREFS_WEB_ENABLE_USER_CSS "enable-user-css"
-#define EPHY_PREFS_WEB_ENABLE_POPUPS "enable-popups"
-#define EPHY_PREFS_WEB_ENABLE_PLUGINS "enable-plugins"
-#define EPHY_PREFS_WEB_ENABLE_JAVASCRIPT "enable-javascript"
-#define EPHY_PREFS_WEB_ENABLE_SPELL_CHECKING "enable-spell-checking"
-#define EPHY_PREFS_WEB_ENABLE_WEBGL "enable-webgl"
-#define EPHY_PREFS_WEB_COOKIES_POLICY "cookies-policy"
-#define EPHY_PREFS_WEB_IMAGE_ANIMATION_MODE "image-animation-mode"
-#define EPHY_PREFS_WEB_DEFAULT_ENCODING "default-encoding"
+#define EPHY_PREFS_WEB_SCHEMA "org.gnome.Epiphany.web"
+#define EPHY_PREFS_WEB_FONT_MIN_SIZE "min-font-size"
+#define EPHY_PREFS_WEB_LANGUAGE "language"
+#define EPHY_PREFS_WEB_USE_OWN_FONTS "use-own-fonts"
+#define EPHY_PREFS_WEB_USE_GNOME_FONTS "use-gnome-fonts"
+#define EPHY_PREFS_WEB_SANS_SERIF_FONT "sans-serif-font"
+#define EPHY_PREFS_WEB_SERIF_FONT "serif-font"
+#define EPHY_PREFS_WEB_MONOSPACE_FONT "monospace-font"
+#define EPHY_PREFS_WEB_USE_OWN_COLORS "use-own-colors"
+#define EPHY_PREFS_WEB_ENABLE_USER_CSS "enable-user-css"
+#define EPHY_PREFS_WEB_ENABLE_POPUPS "enable-popups"
+#define EPHY_PREFS_WEB_ENABLE_PLUGINS "enable-plugins"
+#define EPHY_PREFS_WEB_ENABLE_JAVASCRIPT "enable-javascript"
+#define EPHY_PREFS_WEB_ENABLE_SPELL_CHECKING "enable-spell-checking"
+#define EPHY_PREFS_WEB_ENABLE_WEBGL "enable-webgl"
+#define EPHY_PREFS_WEB_COOKIES_POLICY "cookies-policy"
+#define EPHY_PREFS_WEB_IMAGE_ANIMATION_MODE "image-animation-mode"
+#define EPHY_PREFS_WEB_DEFAULT_ENCODING "default-encoding"
-#define EPHY_PREFS_SCHEMA "org.gnome.Epiphany"
-#define EPHY_PREFS_USER_AGENT "user-agent"
-#define EPHY_PREFS_CACHE_SIZE "cache-size"
-#define EPHY_PREFS_NEW_WINDOWS_IN_TABS "new-windows-in-tabs"
-#define EPHY_PREFS_AUTO_DOWNLOADS "automatic-downloads"
-#define EPHY_PREFS_WARN_ON_CLOSE_UNSUBMITTED_DATA "warn-on-close-unsubmitted-data"
-#define EPHY_PREFS_MIDDLE_CLICK_OPENS_URL "middle-click-opens-url"
-#define EPHY_PREFS_REMEMBER_PASSWORDS "remember-passwords"
-#define EPHY_PREFS_KEYWORD_SEARCH_URL "keyword-search-url"
-#define EPHY_PREFS_MANAGED_NETWORK "managed-network"
-#define EPHY_PREFS_ENABLE_SMOOTH_SCROLLING "enable-smooth-scrolling"
-#define EPHY_PREFS_ENABLE_CARET_BROWSING "enable-caret-browsing"
-#define EPHY_PREFS_ENABLED_EXTENSIONS "enabled-extensions"
-#define EPHY_PREFS_INTERNAL_VIEW_SOURCE "internal-view-source"
-#define EPHY_PREFS_RESTORE_SESSION_POLICY "restore-session-policy"
+#define EPHY_PREFS_SCHEMA "org.gnome.Epiphany"
+#define EPHY_PREFS_USER_AGENT "user-agent"
+#define EPHY_PREFS_CACHE_SIZE "cache-size"
+#define EPHY_PREFS_NEW_WINDOWS_IN_TABS "new-windows-in-tabs"
+#define EPHY_PREFS_AUTO_DOWNLOADS "automatic-downloads"
+#define EPHY_PREFS_WARN_ON_CLOSE_UNSUBMITTED_DATA "warn-on-close-unsubmitted-data"
+#define EPHY_PREFS_MIDDLE_CLICK_OPENS_URL "middle-click-opens-url"
+#define EPHY_PREFS_REMEMBER_PASSWORDS "remember-passwords"
+#define EPHY_PREFS_KEYWORD_SEARCH_URL "keyword-search-url"
+#define EPHY_PREFS_MANAGED_NETWORK "managed-network"
+#define EPHY_PREFS_ENABLE_SMOOTH_SCROLLING "enable-smooth-scrolling"
+#define EPHY_PREFS_ENABLE_CARET_BROWSING "enable-caret-browsing"
+#define EPHY_PREFS_ENABLED_EXTENSIONS "enabled-extensions"
+#define EPHY_PREFS_INTERNAL_VIEW_SOURCE "internal-view-source"
+#define EPHY_PREFS_RESTORE_SESSION_POLICY "restore-session-policy"
-#define EPHY_PREFS_LOCKDOWN_SCHEMA "org.gnome.Epiphany.lockdown"
-#define EPHY_PREFS_LOCKDOWN_FULLSCREEN "disable-fullscreen"
-#define EPHY_PREFS_LOCKDOWN_ARBITRARY_URL "disable-arbitrary-url"
-#define EPHY_PREFS_LOCKDOWN_BOOKMARK_EDITING "disable-bookmark-editing"
-#define EPHY_PREFS_LOCKDOWN_HISTORY "disable-history"
-#define EPHY_PREFS_LOCKDOWN_SAVE_TO_DISK "disable-save-to-disk"
-#define EPHY_PREFS_LOCKDOWN_PRINTING "disable-printing"
-#define EPHY_PREFS_LOCKDOWN_PRINT_SETUP "disable-print-setup"
-#define EPHY_PREFS_LOCKDOWN_COMMAND_LINE "disable-command-line"
-#define EPHY_PREFS_LOCKDOWN_QUIT "disable-quit"
-#define EPHY_PREFS_LOCKDOWN_JAVASCRIPT_CHROME "disable-javascript-chrome"
+#define EPHY_PREFS_LOCKDOWN_SCHEMA "org.gnome.Epiphany.lockdown"
+#define EPHY_PREFS_LOCKDOWN_FULLSCREEN "disable-fullscreen"
+#define EPHY_PREFS_LOCKDOWN_ARBITRARY_URL "disable-arbitrary-url"
+#define EPHY_PREFS_LOCKDOWN_BOOKMARK_EDITING "disable-bookmark-editing"
+#define EPHY_PREFS_LOCKDOWN_HISTORY "disable-history"
+#define EPHY_PREFS_LOCKDOWN_SAVE_TO_DISK "disable-save-to-disk"
+#define EPHY_PREFS_LOCKDOWN_PRINTING "disable-printing"
+#define EPHY_PREFS_LOCKDOWN_PRINT_SETUP "disable-print-setup"
+#define EPHY_PREFS_LOCKDOWN_COMMAND_LINE "disable-command-line"
+#define EPHY_PREFS_LOCKDOWN_QUIT "disable-quit"
+#define EPHY_PREFS_LOCKDOWN_JAVASCRIPT_CHROME "disable-javascript-chrome"
G_END_DECLS