aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-09-14 18:36:54 +0800
committerMilan Crha <mcrha@redhat.com>2011-09-14 18:36:54 +0800
commitbd4898c8a01f2fa9a7f6abadf91c2b51fd411695 (patch)
tree7170b1b98923b1c2c597e85b2557cb35d6f161da
parentb93fe51d70f19853d8d1f5a4c5e4db96ab437235 (diff)
downloadgsoc2013-evolution-bd4898c8a01f2fa9a7f6abadf91c2b51fd411695.tar.gz
gsoc2013-evolution-bd4898c8a01f2fa9a7f6abadf91c2b51fd411695.tar.zst
gsoc2013-evolution-bd4898c8a01f2fa9a7f6abadf91c2b51fd411695.zip
Make sure GConf schemas have defined default values
-rw-r--r--mail/evolution-mail.schemas.in12
-rw-r--r--modules/addressbook/apps_evolution_addressbook.schemas.in1
-rw-r--r--modules/calendar/apps_evolution_calendar.schemas.in5
-rw-r--r--shell/apps_evolution_shell.schemas.in27
4 files changed, 40 insertions, 5 deletions
diff --git a/mail/evolution-mail.schemas.in b/mail/evolution-mail.schemas.in
index 36c8847605..f1dcd73ea6 100644
--- a/mail/evolution-mail.schemas.in
+++ b/mail/evolution-mail.schemas.in
@@ -138,6 +138,7 @@
<owner>evolution-mail</owner>
<type>list</type>
<list_type>string</list_type>
+ <default>[]</default>
<locale name="C">
<short>Spell checking languages</short>
<long>
@@ -536,6 +537,7 @@
<owner>evolution-mail</owner>
<type>list</type>
<list_type>string</list_type>
+ <default>[]</default>
<locale name="C">
<short>List of custom headers and whether they are enabled.</short>
<long>
@@ -580,6 +582,7 @@
<owner>evolution-mail</owner>
<type>list</type>
<list_type>string</list_type>
+ <default>[]</default>
<locale name="C">
<short>List of MIME types to check for Bonobo component viewers</short>
<long>
@@ -958,6 +961,7 @@
<key>/schemas/apps/evolution/mail/subscription_editor_maximized</key>
<applyto>/apps/evolution/mail/subscription_editor_maximized</applyto>
<type>bool</type>
+ <default>false</default>
<locale name="C">
<short>"Folder Subscriptions" window maximize state</short>
<long>
@@ -1496,6 +1500,7 @@
<applyto>/apps/evolution/mail/default_account</applyto>
<owner>evolution-mail</owner>
<type>string</type>
+ <default></default>
<locale name="C">
<short>UID string of the default account.</short>
<long>
@@ -1510,6 +1515,7 @@
<owner>evolution-mail</owner>
<type>list</type>
<list_type>string</list_type>
+ <default>[]</default>
<locale name="C">
<short>List of accounts</short>
<long>
@@ -1526,6 +1532,7 @@
<owner>evolution-mail</owner>
<type>list</type>
<list_type>string</list_type>
+ <default>[]</default>
<locale name="C">
<short>List of accepted licenses</short>
<long>
@@ -1541,6 +1548,7 @@
<applyto>/apps/evolution/mail/save_dir</applyto>
<owner>evolution-mail</owner>
<type>string</type>
+ <default></default>
<locale name="C">
<short>Save directory</short>
<long>
@@ -1554,6 +1562,7 @@
<applyto>/apps/evolution/mail/composer/current_folder</applyto>
<owner>evolution-mail</owner>
<type>string</type>
+ <default></default>
<locale name="C">
<short>Composer load/attach directory</short>
<long>
@@ -1582,6 +1591,7 @@
<key>/schemas/apps/evolution/mail/filter_editor_maximized</key>
<applyto>/apps/evolution/mail/filter_editor_maximized</applyto>
<type>bool</type>
+ <default>false</default>
<locale name="C">
<short>"Filter Editor" window maximize state</short>
<long>
@@ -1660,6 +1670,7 @@
<applyto>/apps/evolution/mail/send_recv_maximized</applyto>
<owner>evolution-mail</owner>
<type>bool</type>
+ <default>false</default>
<locale name="C">
<short>"Send and Receive Mail" window maximize state</short>
<long>
@@ -1705,6 +1716,7 @@
<key>/schemas/apps/evolution/mail/vfolder_editor_maximized</key>
<applyto>/apps/evolution/mail/vfolder_editor_maximized</applyto>
<type>bool</type>
+ <default>false</default>
<locale name="C">
<short>"Search Folder Editor" window maximize state</short>
<long>
diff --git a/modules/addressbook/apps_evolution_addressbook.schemas.in b/modules/addressbook/apps_evolution_addressbook.schemas.in
index e13337e82c..a6506d7a78 100644
--- a/modules/addressbook/apps_evolution_addressbook.schemas.in
+++ b/modules/addressbook/apps_evolution_addressbook.schemas.in
@@ -77,6 +77,7 @@
<applyto>/apps/evolution/addressbook/display/primary_addressbook</applyto>
<owner>evolution-addressbook</owner>
<type>string</type>
+ <default></default>
<locale name="C">
<short>Primary address book</short>
<long>
diff --git a/modules/calendar/apps_evolution_calendar.schemas.in b/modules/calendar/apps_evolution_calendar.schemas.in
index 7df4f95271..c34852ed4e 100644
--- a/modules/calendar/apps_evolution_calendar.schemas.in
+++ b/modules/calendar/apps_evolution_calendar.schemas.in
@@ -8,6 +8,7 @@
<applyto>/apps/evolution/calendar/display/primary_calendar</applyto>
<owner>evolution-calendar</owner>
<type>string</type>
+ <default></default>
<locale name="C">
<short>Primary calendar</short>
<long>
@@ -501,6 +502,7 @@
<applyto>/apps/evolution/calendar/memos/primary_memos</applyto>
<owner>evolution-calendar</owner>
<type>string</type>
+ <default></default>
<locale name="C">
<short>Primary memo list</short>
<long>
@@ -517,6 +519,7 @@
<applyto>/apps/evolution/calendar/tasks/primary_tasks</applyto>
<owner>evolution-calendar</owner>
<type>string</type>
+ <default></default>
<locale name="C">
<short>Primary task list</short>
<long>
@@ -786,6 +789,7 @@
<applyto>/apps/evolution/calendar/publish/template</applyto>
<owner>evolution-calendar</owner>
<type>string</type>
+ <default></default>
<locale name="C">
<short>Free/busy template URL</short>
<long>The URL template to use as a free/busy data fallback, %u is replaced by the user part of the mail address and %d is replaced by the domain.</long>
@@ -797,6 +801,7 @@
<applyto>/apps/evolution/calendar/audio_dir</applyto>
<owner>evolution-calendar</owner>
<type>string</type>
+ <default></default>
<locale name="C">
<short>Save directory for reminder audio</short>
<long>
diff --git a/shell/apps_evolution_shell.schemas.in b/shell/apps_evolution_shell.schemas.in
index dd5544284c..09c376edda 100644
--- a/shell/apps_evolution_shell.schemas.in
+++ b/shell/apps_evolution_shell.schemas.in
@@ -8,6 +8,7 @@
<applyto>/apps/evolution/version</applyto>
<owner>evolution</owner>
<type>string</type>
+ <default></default>
<locale name="C">
<short>Configuration version</short>
<long>The configuration version of Evolution, with major/minor/configuration level (for example "2.6.0").</long>
@@ -21,6 +22,7 @@
<applyto>/apps/evolution/last_version</applyto>
<owner>evolution</owner>
<type>string</type>
+ <default></default>
<locale name="C">
<short>Last upgraded configuration version</short>
<long>The last upgraded configuration version of Evolution, with major/minor/configuration level (for example "2.6.0").</long>
@@ -63,6 +65,7 @@
<applyto>/apps/evolution/shell/file_chooser_folder</applyto>
<owner>evolution</owner>
<type>string</type>
+ <default></default>
<locale name="C">
<short>Initial file chooser folder</short>
<long>Initial folder for GtkFileChooser dialogs.</long>
@@ -103,6 +106,7 @@
<applyto>/apps/evolution/shell/view_defaults/window_y</applyto>
<owner>evolution</owner>
<type>int</type>
+ <default>0</default>
<locale name="C">
<short>Default window Y coordinate</short>
<long>The default Y coordinate for the main window.</long>
@@ -114,6 +118,7 @@
<applyto>/apps/evolution/shell/view_defaults/window_x</applyto>
<owner>evolution</owner>
<type>int</type>
+ <default>0</default>
<locale name="C">
<short>Default window X coordinate</short>
<long>The default X coordinate for the main window.</long>
@@ -149,7 +154,7 @@
<applyto>/apps/evolution/shell/view_defaults/window_maximized</applyto>
<owner>evolution</owner>
<type>bool</type>
- <default>TRUE</default>
+ <default>true</default>
<locale name="C">
<short>Default window state</short>
<long>Whether or not the window should be maximized.</long>
@@ -161,7 +166,7 @@
<applyto>/apps/evolution/shell/view_defaults/buttons_visible</applyto>
<owner>evolution</owner>
<type>bool</type>
- <default>TRUE</default>
+ <default>true</default>
<locale name="C">
<short>Window buttons are visible</short>
<long>Whether the window buttons should be visible.</long>
@@ -185,7 +190,7 @@
<applyto>/apps/evolution/shell/view_defaults/toolbar_visible</applyto>
<owner>evolution</owner>
<type>bool</type>
- <default>TRUE</default>
+ <default>true</default>
<locale name="C">
<short>Toolbar is visible</short>
<long>Whether the toolbar should be visible.</long>
@@ -197,7 +202,7 @@
<applyto>/apps/evolution/shell/view_defaults/sidebar_visible</applyto>
<owner>evolution</owner>
<type>bool</type>
- <default>TRUE</default>
+ <default>true</default>
<locale name="C">
<short>Sidebar is visible</short>
<long>Whether the sidebar should be visible.</long>
@@ -209,7 +214,7 @@
<applyto>/apps/evolution/shell/view_defaults/statusbar_visible</applyto>
<owner>evolution</owner>
<type>bool</type>
- <default>TRUE</default>
+ <default>true</default>
<locale name="C">
<short>Statusbar is visible</short>
<long>Whether the status bar should be visible.</long>
@@ -261,6 +266,7 @@
<applyto>/apps/evolution/shell/network_config/http_port</applyto>
<owner>evolution</owner>
<type>int</type>
+ <default>0</default>
<locale name="C">
<short>HTTP proxy port</short>
<long>The port on the machine defined by "/apps/evolution/shell/network_config/http_host" that you proxy through.</long>
@@ -272,6 +278,7 @@
<applyto>/apps/evolution/shell/network_config/http_host</applyto>
<owner>evolution</owner>
<type>string</type>
+ <default></default>
<locale name="C">
<short>HTTP proxy host name</short>
<long>The machine name to proxy HTTP through.</long>
@@ -283,6 +290,7 @@
<applyto>/apps/evolution/shell/network_config/secure_port</applyto>
<owner>evolution</owner>
<type>int</type>
+ <default>0</default>
<locale name="C">
<short>Secure HTTP proxy port</short>
<long>The port on the machine defined by "/apps/evolution/shell/network_config/secure_host" that you proxy through.</long>
@@ -294,6 +302,7 @@
<applyto>/apps/evolution/shell/network_config/secure_host</applyto>
<owner>evolution</owner>
<type>string</type>
+ <default></default>
<locale name="C">
<short>Secure HTTP proxy host name</short>
<long>The machine name to proxy secure HTTP through.</long>
@@ -305,6 +314,7 @@
<applyto>/apps/evolution/shell/network_config/socks_port</applyto>
<owner>evolution</owner>
<type>int</type>
+ <default>0</default>
<locale name="C">
<short>SOCKS proxy port</short>
<long>The port on the machine defined by "/apps/evolution/shell/network_config/socks_host" that you proxy through.</long>
@@ -316,6 +326,7 @@
<applyto>/apps/evolution/shell/network_config/socks_host</applyto>
<owner>evolution</owner>
<type>string</type>
+ <default></default>
<locale name="C">
<short>SOCKS proxy host name</short>
<long>The machine name to proxy socks through.</long>
@@ -327,6 +338,7 @@
<applyto>/apps/evolution/shell/network_config/use_http_proxy</applyto>
<owner>evolution</owner>
<type>bool</type>
+ <default>false</default>
<locale name="C">
<short>Use HTTP proxy</short>
<long>Enables the proxy settings when accessing HTTP/Secure HTTP over the Internet.</long>
@@ -338,6 +350,7 @@
<applyto>/apps/evolution/shell/network_config/use_authentication</applyto>
<owner>evolution</owner>
<type>bool</type>
+ <default>false</default>
<locale name="C">
<short>Authenticate proxy server connections</short>
<long>If true, then connections to the proxy server require authentication. The username is retrieved from the "/apps/evolution/shell/network_config/authentication_user" GConf key, and the password is retrieved from either gnome-keyring or the ~/.gnome2_private/Evolution password file.</long>
@@ -349,6 +362,7 @@
<applyto>/apps/evolution/shell/network_config/authentication_user</applyto>
<owner>evolution</owner>
<type>string</type>
+ <default></default>
<locale name="C">
<short>HTTP proxy username</short>
<long>Username to pass as authentication when doing HTTP proxying.</long>
@@ -360,6 +374,7 @@
<applyto>/apps/evolution/shell/network_config/authentication_password</applyto>
<owner>evolution</owner>
<type>string</type>
+ <default></default>
<locale name="C">
<short>HTTP proxy password</short>
<long>Password to pass as authentication when doing HTTP proxying.</long>
@@ -372,6 +387,7 @@
<owner>evolution</owner>
<type>list</type>
<list_type>string</list_type>
+ <default>[]</default>
<locale name="C">
<short>Non-proxy hosts</short>
<long>This key contains a list of hosts which are connected to directly, rather than via the proxy (if it is active). The values can be hostnames, domains (using an initial wildcard like *.foo.com), IP host addresses (both IPv4 and IPv6) and network addresses with a netmask (something like 192.168.0.0/24).</long>
@@ -383,6 +399,7 @@
<applyto>/apps/evolution/shell/network_config/autoconfig_url</applyto>
<owner>evolution</owner>
<type>string</type>
+ <default></default>
<locale name="C">
<short>Automatic proxy configuration URL</short>
<long>URL that provides proxy configuration values.</long>