aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/apps_evolution_summary.schemas
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-21 05:57:43 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-21 05:57:43 +0800
commitba846b6b545490d957af46038c9b686b440ca25a (patch)
tree9928fe710ac606e1a49b908e244ea1a3b6ad3fc8 /my-evolution/apps_evolution_summary.schemas
parent37cdfc6c84183613ed796cc218e60e78e07ddc0a (diff)
downloadgsoc2013-evolution-ba846b6b545490d957af46038c9b686b440ca25a.tar
gsoc2013-evolution-ba846b6b545490d957af46038c9b686b440ca25a.tar.gz
gsoc2013-evolution-ba846b6b545490d957af46038c9b686b440ca25a.tar.bz2
gsoc2013-evolution-ba846b6b545490d957af46038c9b686b440ca25a.tar.lz
gsoc2013-evolution-ba846b6b545490d957af46038c9b686b440ca25a.tar.xz
gsoc2013-evolution-ba846b6b545490d957af46038c9b686b440ca25a.tar.zst
gsoc2013-evolution-ba846b6b545490d957af46038c9b686b440ca25a.zip
Use GConf.
* e-summary.c (e_summary_init): Use GConf. * e-summary-tasks.c: Replaced member config_listener in ESummaryTasks with a gconf_client. (setup_gconf_client): Renamed from setup_config_listener(). Set up the GConf client and invoke gconf_client_add_dir() on the interesting namespaces. (gconf_client_value_changed_cb): Renamed from config_listener_value_changed_cb and changed prototype to match that of the "value_changed" signal in GConfClient. (setup_task_folder): Updated to use GConf. * e-summary-calendar.c: Replaced member config_listener with a gconf_listener. (setup_calendar): Use GConf. (setup_gconf_client): Renamed from setup_config_listener. Set up a GConf client and invoke gconf_client_add_dir() on the interesting namespaces. (gconf_client_value_changed_cb): Renamed from config_listener_key_changed_cb() and changed prototype to match that of the "value_changed" signal in GConfClient. (locale_uses_24h_time_format): Removed. (e_summary_calendar_free): g_object_unref() the gconf_client. * Makefile.am: Add rules to install the schemas. * apps_evolution_summary.schemas: New. * e-summary-preferences.c: Did a global GList -> GSList switch. (e_summary_preferences_restore): Use GConfClient instead of EConfigListener. (vector_from_folder_list): Removed since GConf makes this useless. (folder_list_from_vector): Likewise. (str_list_from_vector): Likewise. (vector_from_str_list): Likewise. (make_initial_weather_list): Likewise. (make_initial_rdf_list): Likewise. (make_initial_mail_list): Likewise. (e_summary_preferences_save): Use GConf. (e_summary_preferences_init): No need to set up defaults here. * e-summary.h: Changed members display_folders, rdf_urls, stations in ESummaryPrefs to be GSLists instead of GLists; updated all the functions that use them accordingly. svn path=/trunk/; revision=18863
Diffstat (limited to 'my-evolution/apps_evolution_summary.schemas')
-rw-r--r--my-evolution/apps_evolution_summary.schemas141
1 files changed, 141 insertions, 0 deletions
diff --git a/my-evolution/apps_evolution_summary.schemas b/my-evolution/apps_evolution_summary.schemas
new file mode 100644
index 0000000000..840ff00b37
--- /dev/null
+++ b/my-evolution/apps_evolution_summary.schemas
@@ -0,0 +1,141 @@
+<gconfschemafile>
+ <schemalist>
+
+ <!-- Mail section -->
+
+ <schema>
+ <key>/schemas/apps/evolution/summary/mail/folder_evolution_uris</key>
+ <applyto>/apps/evolution/summary/mail/folder_evolution_uris</applyto>
+ <owner>evolution</owner>
+ <type>list</type>
+ <list_type>string</list_type>
+ <default>[]</default>
+ <locale name="C">
+ <short>evolution: URIs of the folders to display in the summary</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/summary/mail/folder_physical_uris</key>
+ <applyto>/apps/evolution/summary/mail/folder_physical_uris</applyto>
+ <owner>evolution</owner>
+ <type>list</type>
+ <list_type>string</list_type>
+ <default>[]</default>
+ <locale name="C">
+ <short>Physical URIs of the folders to display in the summary</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/summary/mail/show_full_paths</key>
+ <applyto>/apps/evolution/summary/mail/show_full_paths</applyto>
+ <owner>evolution</owner>
+ <type>bool</type>
+ <default>false</default>
+ <locale name="C">
+ <short>Whether to show the full paths to the mail folders displayed in the summary</short>
+ </locale>
+ </schema>
+
+ <!-- Calendar section -->
+
+ <schema>
+ <key>/schemas/apps/evolution/summary/calendar/days_shown</key>
+ <applyto>/apps/evolution/summary/calendar/days_shown</applyto>
+ <owner>evolution</owner>
+ <type>int</type>
+ <default>0</default>
+ <locale name="C">
+ <short>Number of days shown in the calendar section</short>
+ <long>Use '0' to display one day, '1' to display five days, '2' to display a full week, '3' to display a full month.</long>
+ </locale>
+ </schema>
+
+ <!-- Tasks section -->
+
+ <schema>
+ <key>/schemas/apps/evolution/summary/tasks/show_all</key>
+ <applyto>/apps/evolution/summary/tasks/show_all</applyto>
+ <owner>evolution</owner>
+ <type>bool</type>
+ <default>true</default>
+ <locale name="C">
+ <short>Whether to display all pending tasks instead of only today's tasks</short>
+ </locale>
+ </schema>
+
+ <!-- RDF section -->
+
+ <schema>
+ <key>/schemas/apps/evolution/summary/rdf/uris</key>
+ <applyto>/apps/evolution/summary/rdf/uris</applyto>
+ <owner>evolution</owner>
+ <type>list</type>
+ <list_type>string</list_type>
+ <default>[http://linuxtoday.com/backend/my-netscape.rdf,http://www.salon.com/feed/RDF/salon_use.rdf]</default>
+ <locale name="C">
+ <short>URIs of the RDF feeds to display in the summary</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/summary/rdf/refresh_time</key>
+ <applyto>/apps/evolution/summary/rdf/refresh_time</applyto>
+ <owner>evolution</owner>
+ <type>int</type>
+ <default>600</default>
+ <locale name="C">
+ <short>Number of seconds between updates of the RDF feeds in the summary</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/summary/rdf/max_items</key>
+ <applyto>/apps/evolution/summary/rdf/max_items</applyto>
+ <owner>evolution</owner>
+ <type>int</type>
+ <default>10</default>
+ <locale name="C">
+ <short>Maximum number of recent items to display for each RDF feed</short>
+ </locale>
+ </schema>
+
+ <!-- Weather section -->
+
+ <schema>
+ <key>/schemas/apps/evolution/summary/weather/stations</key>
+ <applyto>/apps/evolution/summary/weather/stations</applyto>
+ <owner>evolution</owner>
+ <type>list</type>
+ <list_type>string</list_type>
+ <default>[KBOS]</default>
+ <locale name="C">
+ <short>List of weather stations to display in the summary</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/summary/weather/use_metric</key>
+ <applyto>/apps/evolution/summary/weather/use_metric</applyto>
+ <owner>evolution</owner>
+ <type>bool</type>
+ <default>false</default>
+ <locale name="C">
+ <short>Whether to use metric (instead of imperial) units in the summary</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/summary/weather/refresh_time</key>
+ <applyto>/apps/evolution/summary/weather/refresh_time</applyto>
+ <owner>evolution</owner>
+ <type>int</type>
+ <default>600</default>
+ <locale name="C">
+ <short>Number of seconds between updates of the weather section of the summary</short>
+ </locale>
+ </schema>
+
+ </schemalist>
+</gconfschemafile>