From ba846b6b545490d957af46038c9b686b440ca25a Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 20 Nov 2002 21:57:43 +0000 Subject: 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 --- my-evolution/apps_evolution_summary.schemas | 141 ++++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 my-evolution/apps_evolution_summary.schemas (limited to 'my-evolution/apps_evolution_summary.schemas') 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 @@ + + + + + + + /schemas/apps/evolution/summary/mail/folder_evolution_uris + /apps/evolution/summary/mail/folder_evolution_uris + evolution + list + string + [] + + evolution: URIs of the folders to display in the summary + + + + + /schemas/apps/evolution/summary/mail/folder_physical_uris + /apps/evolution/summary/mail/folder_physical_uris + evolution + list + string + [] + + Physical URIs of the folders to display in the summary + + + + + /schemas/apps/evolution/summary/mail/show_full_paths + /apps/evolution/summary/mail/show_full_paths + evolution + bool + false + + Whether to show the full paths to the mail folders displayed in the summary + + + + + + + /schemas/apps/evolution/summary/calendar/days_shown + /apps/evolution/summary/calendar/days_shown + evolution + int + 0 + + Number of days shown in the calendar section + Use '0' to display one day, '1' to display five days, '2' to display a full week, '3' to display a full month. + + + + + + + /schemas/apps/evolution/summary/tasks/show_all + /apps/evolution/summary/tasks/show_all + evolution + bool + true + + Whether to display all pending tasks instead of only today's tasks + + + + + + + /schemas/apps/evolution/summary/rdf/uris + /apps/evolution/summary/rdf/uris + evolution + list + string + [http://linuxtoday.com/backend/my-netscape.rdf,http://www.salon.com/feed/RDF/salon_use.rdf] + + URIs of the RDF feeds to display in the summary + + + + + /schemas/apps/evolution/summary/rdf/refresh_time + /apps/evolution/summary/rdf/refresh_time + evolution + int + 600 + + Number of seconds between updates of the RDF feeds in the summary + + + + + /schemas/apps/evolution/summary/rdf/max_items + /apps/evolution/summary/rdf/max_items + evolution + int + 10 + + Maximum number of recent items to display for each RDF feed + + + + + + + /schemas/apps/evolution/summary/weather/stations + /apps/evolution/summary/weather/stations + evolution + list + string + [KBOS] + + List of weather stations to display in the summary + + + + + /schemas/apps/evolution/summary/weather/use_metric + /apps/evolution/summary/weather/use_metric + evolution + bool + false + + Whether to use metric (instead of imperial) units in the summary + + + + + /schemas/apps/evolution/summary/weather/refresh_time + /apps/evolution/summary/weather/refresh_time + evolution + int + 600 + + Number of seconds between updates of the weather section of the summary + + + + + -- cgit v1.2.3