aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-02-21 07:19:37 +0800
committerHans Petter <hansp@src.gnome.org>2003-02-21 07:19:37 +0800
commit7cd992827167f3a1ce89c2807c6d103828b2e866 (patch)
tree2f9c484952568feb67b2290165ded6f857a5d4a1 /calendar
parentd2dd873c5e078a9581bc091c640427c9841252f4 (diff)
downloadgsoc2013-evolution-7cd992827167f3a1ce89c2807c6d103828b2e866.tar
gsoc2013-evolution-7cd992827167f3a1ce89c2807c6d103828b2e866.tar.gz
gsoc2013-evolution-7cd992827167f3a1ce89c2807c6d103828b2e866.tar.bz2
gsoc2013-evolution-7cd992827167f3a1ce89c2807c6d103828b2e866.tar.lz
gsoc2013-evolution-7cd992827167f3a1ce89c2807c6d103828b2e866.tar.xz
gsoc2013-evolution-7cd992827167f3a1ce89c2807c6d103828b2e866.tar.zst
gsoc2013-evolution-7cd992827167f3a1ce89c2807c6d103828b2e866.zip
Add GConf schemas.
2003-02-20 Hans Petter Jansson <hpj@ximian.com> * gui/apps_evolution_calendar.schemas: Add GConf schemas. * gui/Makefile.am (EXTRA_DIST): Dist GConf schemas. (install-data-local): Install GConf schemas. svn path=/trunk/; revision=19987
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/Makefile.am14
-rw-r--r--calendar/gui/apps_evolution_calendar.schemas346
3 files changed, 365 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index cad38bd5a8..558c3d7f01 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2003-02-20 Hans Petter Jansson <hpj@ximian.com>
+
+ * gui/apps_evolution_calendar.schemas: Add GConf schemas.
+
+ * gui/Makefile.am (EXTRA_DIST): Dist GConf schemas.
+ (install-data-local): Install GConf schemas.
+
2003-02-20 Dan Winship <danw@ximian.com>
* gui/Makefile.am (libevolution_calendar_la_LIBADD):
diff --git a/calendar/gui/Makefile.am b/calendar/gui/Makefile.am
index 08c4a2dcb4..8c0a6ff561 100644
--- a/calendar/gui/Makefile.am
+++ b/calendar/gui/Makefile.am
@@ -207,19 +207,29 @@ server_DATA = $(server_in_files:.server.in.in=.server)
$(server_in_files:.server.in.in=.server.in): $(server_in_files)
sed -e "s|\@COMPONENTDIR\@|$(componentdir)|" $< > $@
+# GConf schemas
+
+schemadir = $(GCONF_SCHEMA_FILE_DIR)
+schema_DATA = apps_evolution_calendar.schemas
+
@INTLTOOL_SERVER_RULE@
EXTRA_DIST = \
$(glade_DATA) \
+ $(schema_DATA) \
$(etspec_DATA) \
$(server_in_files)
BUILT_SOURCES = $(IDL_GENERATED)
CLEANFILES = $(BUILT_SOURCES)
-
install-data-local:
- $(mkinstalldirs) $(Conduitsdir)
+ $(mkinstalldirs) $(Conduitsdir); \
+ if test -z "$(DESTDIR)"; then \
+ for p in $(schema_DATA); do \
+ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p; \
+ done; \
+ fi
dist-hook:
cd $(distdir); rm -f $(BUILT_SOURCES)
diff --git a/calendar/gui/apps_evolution_calendar.schemas b/calendar/gui/apps_evolution_calendar.schemas
new file mode 100644
index 0000000000..f01b65d7c6
--- /dev/null
+++ b/calendar/gui/apps_evolution_calendar.schemas
@@ -0,0 +1,346 @@
+<gconfschemafile>
+ <schemalist>
+
+ <!-- Display -->
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/display/timezone</key>
+ <applyto>/apps/evolution/calendar/display/timezone</applyto>
+ <owner>evolution-calendar</owner>
+ <type>string</type>
+ <default></default>
+ <locale name="C">
+ <short>Default timezone for meetings</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/display/use_24hour_format</key>
+ <applyto>/apps/evolution/calendar/display/use_24hour_format</applyto>
+ <owner>evolution-calendar</owner>
+ <type>bool</type>
+ <default>true</default>
+ <locale name="C">
+ <short>Whether to show times in 24h format instead of using am/pm</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/display/week_start_day</key>
+ <applyto>/apps/evolution/calendar/display/week_start_day</applyto>
+ <owner>evolution-calendar</owner>
+ <type>int</type>
+ <default></default>
+ <locale name="C">
+ <short>Weekday the week starts on</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/display/day_start_hour</key>
+ <applyto>/apps/evolution/calendar/display/day_start_hour</applyto>
+ <owner>evolution-calendar</owner>
+ <type>int</type>
+ <default></default>
+ <locale name="C">
+ <short>Hour the workday starts on</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/display/day_start_minute</key>
+ <applyto>/apps/evolution/calendar/display/day_start_minute</applyto>
+ <owner>evolution-calendar</owner>
+ <type>int</type>
+ <default></default>
+ <locale name="C">
+ <short>Minute the workday starts on</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/display/day_end_hour</key>
+ <applyto>/apps/evolution/calendar/display/day_end_hour</applyto>
+ <owner>evolution-calendar</owner>
+ <type>int</type>
+ <default></default>
+ <locale name="C">
+ <short>Hour the workday ends on</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/display/day_end_minute</key>
+ <applyto>/apps/evolution/calendar/display/day_end_minute</applyto>
+ <owner>evolution-calendar</owner>
+ <type>int</type>
+ <default></default>
+ <locale name="C">
+ <short>Minute the workday ends on</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/display/time_divisions</key>
+ <applyto>/apps/evolution/calendar/display/time_divisions</applyto>
+ <owner>evolution-calendar</owner>
+ <type>int</type>
+ <default></default>
+ <locale name="C">
+ <short></short> <!-- FIXME -->
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/display/default_view</key>
+ <applyto>/apps/evolution/calendar/display/default_view</applyto>
+ <owner>evolution-calendar</owner>
+ <type>int</type>
+ <default></default>
+ <locale name="C">
+ <short>The view showing when the calendar starts</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/display/hpane_position</key>
+ <applyto>/apps/evolution/calendar/display/hpane_position</applyto>
+ <owner>evolution-calendar</owner>
+ <type>float</type>
+ <default></default>
+ <locale name="C">
+ <short>Position of the horizontal pane</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/display/vpane_position</key>
+ <applyto>/apps/evolution/calendar/display/vpane_position</applyto>
+ <owner>evolution-calendar</owner>
+ <type>float</type>
+ <default></default>
+ <locale name="C">
+ <short>Position of the vertical pane</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/display/month_hpane_position</key>
+ <applyto>/apps/evolution/calendar/display/month_hpane_position</applyto>
+ <owner>evolution-calendar</owner>
+ <type>float</type>
+ <default></default>
+ <locale name="C">
+ <short>Position of the horizontal pane in the month view</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/display/month_vpane_position</key>
+ <applyto>/apps/evolution/calendar/display/month_vpane_position</applyto>
+ <owner>evolution-calendar</owner>
+ <type>float</type>
+ <default></default>
+ <locale name="C">
+ <short>Position of the vertical pane in the month view</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/display/compress_weekend</key>
+ <applyto>/apps/evolution/calendar/display/compress_weekend</applyto>
+ <owner>evolution-calendar</owner>
+ <type>bool</type>
+ <default></default>
+ <locale name="C">
+ <short>Allocate less space to weekend appointments</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/display/show_event_end</key>
+ <applyto>/apps/evolution/calendar/display/show_event_end</applyto>
+ <owner>evolution-calendar</owner>
+ <type>bool</type>
+ <default></default>
+ <locale name="C">
+ <short>Show where events end</short> <!-- FIXME: Not sure -->
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/display/working_days</key>
+ <applyto>/apps/evolution/calendar/display/working_days</applyto>
+ <owner>evolution-calendar</owner>
+ <type>int</type>
+ <default></default>
+ <locale name="C">
+ <short>Number of working days in a week</short>
+ </locale>
+ </schema>
+
+ <!-- Tasks -->
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/tasks/hide_completed</key>
+ <applyto>/apps/evolution/calendar/tasks/hide_completed</applyto>
+ <owner>evolution-calendar</owner>
+ <type>bool</type>
+ <default></default>
+ <locale name="C">
+ <short>Whether to hide completed tasks</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/tasks/hide_completed_units</key>
+ <applyto>/apps/evolution/calendar/tasks/hide_completed_units</applyto>
+ <owner>evolution-calendar</owner>
+ <type>string</type>
+ <default></default>
+ <locale name="C">
+ <short></short> <!-- FIXME -->
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/tasks/hide_completed_value</key>
+ <applyto>/apps/evolution/calendar/tasks/hide_completed_value</applyto>
+ <owner>evolution-calendar</owner>
+ <type>int</type>
+ <default></default>
+ <locale name="C">
+ <short></short> <!-- FIXME -->
+ </locale>
+ </schema>
+
+ <!-- Tasks: Colors -->
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/tasks/colors/due_today</key>
+ <applyto>/apps/evolution/calendar/tasks/colors/due_today</applyto>
+ <owner>evolution-calendar</owner>
+ <type>strings</type>
+ <default></default>
+ <locale name="C">
+ <short>Color of tasks that are due today</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/tasks/colors/overdue</key>
+ <applyto>/apps/evolution/calendar/tasks/colors/overdue</applyto>
+ <owner>evolution-calendar</owner>
+ <type>strings</type>
+ <default></default>
+ <locale name="C">
+ <short>Color of tasks that are overdue</short>
+ </locale>
+ </schema>
+
+ <!-- Miscellaneous -->
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/prompts/confirm_delete</key>
+ <applyto>/apps/evolution/calendar/prompts/confirm_delete</applyto>
+ <owner>evolution-calendar</owner>
+ <type>bool</type>
+ <default></default>
+ <locale name="C">
+ <short>Whether to ask for confirmation on appointment deletion</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/prompts/confirm_expunge</key>
+ <applyto>/apps/evolution/calendar/prompts/confirm_expunge</applyto>
+ <owner>evolution-calendar</owner>
+ <type>bool</type>
+ <default></default>
+ <locale name="C">
+ <short>Whether to ask for confirmation when folder is expunged</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/other/use_default_reminder</key>
+ <applyto>/apps/evolution/calendar/other/use_default_reminder</applyto>
+ <owner>evolution-calendar</owner>
+ <type>bool</type>
+ <default></default>
+ <locale name="C">
+ <short>Whether to use a default reminder</short> <!-- FIXME: Not sure -->
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/other/default_reminder_interval</key>
+ <applyto>/apps/evolution/calendar/other/default_reminder_interval</applyto>
+ <owner>evolution-calendar</owner>
+ <type>int</type>
+ <default></default>
+ <locale name="C">
+ <short>Interval of default reminder</short>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/other/default_reminder_units</key>
+ <applyto>/apps/evolution/calendar/other/default_reminder_units</applyto>
+ <owner>evolution-calendar</owner>
+ <type>strings</type>
+ <default></default>
+ <locale name="C">
+ <short>Units of default reminder interval</short> <!-- FIXME: Not sure -->
+ </locale>
+ </schema>
+
+ <!-- Date navigator -->
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/date_navigator/show_week_numbers</key>
+ <applyto>/apps/evolution/calendar/date_navigator/show_week_numbers</applyto>
+ <owner>evolution-calendar</owner>
+ <type>bool</type>
+ <default></default>
+ <locale name="C">
+ <short>Whether to show week numbers in date navigator</short>
+ </locale>
+ </schema>
+
+ <!-- Alarm notification -->
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/notify/last_notification_time</key>
+ <applyto>/apps/evolution/calendar/notify/last_notification_time</applyto>
+ <owner>evolution-calendar</owner>
+ <type>string</type>
+ <default></default>
+ <locale name="C">
+ <short>When user was last notified</short> <!-- FIXME: Not sure -->
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/notify/calendars</key>
+ <applyto>/apps/evolution/calendar/notify/calendars</applyto>
+ <owner>evolution-calendar</owner>
+ <type>list</type> <!-- FIXME: Do I have to specify list/string? How? -->
+ <default></default>
+ <locale name="C">
+ <short>Calendars to notify for</short> <!-- FIXME: Not sure -->
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/evolution/calendar/notify/programs</key>
+ <applyto>/apps/evolution/calendar/notify/programs</applyto>
+ <owner>evolution-calendar</owner>
+ <type>list</type> <!-- FIXME: Do I have to specify list/string? How? -->
+ <default></default>
+ <locale name="C">
+ <short>Programs that can run as notification</short> <!-- FIXME: Not sure -->
+ </locale>
+ </schema>
+ </schemalist>
+</gconfschemafile>