From 667f56dcaffbbdf9c29b5f0d17fa1293d9d464bc Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 12 Jul 2010 16:26:04 -0500 Subject: Trying to build the first gschema file. --- data/org.ayatana.indicator.datetime.gschema | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 data/org.ayatana.indicator.datetime.gschema (limited to 'data') diff --git a/data/org.ayatana.indicator.datetime.gschema b/data/org.ayatana.indicator.datetime.gschema new file mode 100644 index 0000000..f51cda3 --- /dev/null +++ b/data/org.ayatana.indicator.datetime.gschema @@ -0,0 +1,9 @@ + + + + %l:%M %p + The format string passed to strftime + The format of the time and/or date that is visible on the panel when using the indicator. For most users this will be a set of predefined values as determined by the configuration utility, but advanced users can change it to anything strftime can accept. Look at the man page on strftime for more information. + + + -- cgit v1.2.3 From 89692e244aab0cf3f3dba3bb489c026be8b386e1 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 12 Jul 2010 16:55:18 -0500 Subject: Bringing in the gesttings love. --- data/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index b19cee4..be4c97d 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,5 +1,9 @@ #SUBDIRS = icons +gsettings_SCHEMAS = \ + org.ayatana.indicator.datetime.gschema +@GSETTINGS_RULES@ + dbus_servicesdir = $(DBUSSERVICEDIR) dbus_services_DATA = indicator-datetime.service -- cgit v1.2.3 From 3ef7359d1f7b8db5d46a53ec6f35fc738724ac87 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 12 Jul 2010 16:59:55 -0500 Subject: Renaming file --- data/Makefile.am | 2 +- data/org.ayatana.indicator.datetime.gschema | 9 --------- data/org.ayatana.indicator.datetime.gschema.xml | 9 +++++++++ 3 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 data/org.ayatana.indicator.datetime.gschema create mode 100644 data/org.ayatana.indicator.datetime.gschema.xml (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index be4c97d..2e6900c 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,7 +1,7 @@ #SUBDIRS = icons gsettings_SCHEMAS = \ - org.ayatana.indicator.datetime.gschema + org.ayatana.indicator.datetime.gschema.xml @GSETTINGS_RULES@ dbus_servicesdir = $(DBUSSERVICEDIR) diff --git a/data/org.ayatana.indicator.datetime.gschema b/data/org.ayatana.indicator.datetime.gschema deleted file mode 100644 index f51cda3..0000000 --- a/data/org.ayatana.indicator.datetime.gschema +++ /dev/null @@ -1,9 +0,0 @@ - - - - %l:%M %p - The format string passed to strftime - The format of the time and/or date that is visible on the panel when using the indicator. For most users this will be a set of predefined values as determined by the configuration utility, but advanced users can change it to anything strftime can accept. Look at the man page on strftime for more information. - - - diff --git a/data/org.ayatana.indicator.datetime.gschema.xml b/data/org.ayatana.indicator.datetime.gschema.xml new file mode 100644 index 0000000..f51cda3 --- /dev/null +++ b/data/org.ayatana.indicator.datetime.gschema.xml @@ -0,0 +1,9 @@ + + + + %l:%M %p + The format string passed to strftime + The format of the time and/or date that is visible on the panel when using the indicator. For most users this will be a set of predefined values as determined by the configuration utility, but advanced users can change it to anything strftime can accept. Look at the man page on strftime for more information. + + + -- cgit v1.2.3 From 4f6a98808a8ba52193f25fb3683436c0a043ffa5 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 12 Jul 2010 17:07:50 -0500 Subject: Getting the schema to validate. --- data/org.ayatana.indicator.datetime.gschema.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'data') diff --git a/data/org.ayatana.indicator.datetime.gschema.xml b/data/org.ayatana.indicator.datetime.gschema.xml index f51cda3..5833d63 100644 --- a/data/org.ayatana.indicator.datetime.gschema.xml +++ b/data/org.ayatana.indicator.datetime.gschema.xml @@ -1,7 +1,7 @@ - - - %l:%M %p + + + "%l:%M %p" The format string passed to strftime The format of the time and/or date that is visible on the panel when using the indicator. For most users this will be a set of predefined values as determined by the configuration utility, but advanced users can change it to anything strftime can accept. Look at the man page on strftime for more information. -- cgit v1.2.3 From 3575d726899cdb7ce8f928fe2f873c925c8cb9e3 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 15 Jul 2010 15:02:17 -0500 Subject: I swear, there were somethings I didn't change! Getting some final settings that make sense. --- data/org.ayatana.indicator.datetime.gschema.xml | 56 ++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 2 deletions(-) (limited to 'data') diff --git a/data/org.ayatana.indicator.datetime.gschema.xml b/data/org.ayatana.indicator.datetime.gschema.xml index 5833d63..c794d83 100644 --- a/data/org.ayatana.indicator.datetime.gschema.xml +++ b/data/org.ayatana.indicator.datetime.gschema.xml @@ -1,9 +1,61 @@ + + + + + + - + + 'locale-default' + What the time format should be + + Controls the time format that is displayed in the indicator. For almost + all users this should be the default for their locale. If you think the + setting is wrong for your locale please join or talk to the translation + team for your langauge. If you just want something different you can + adjust this to be either 12 or 24 time. Or, you can use a custom format + string and set the custom-time-format setting. + + + + false + Show the number of seconds in the indicator + + Makes the datetime indicator show the number of seconds in the indicator. + It's important to note that this will cause additional battery drain as + the time will update 60 times as often, so it is not recommended. Also, + this setting will be ignored if the time-format value is set to custom. + + + + false + Show the day of the week in the indicator + + Puts the day of the week on the panel along with the time and/or date + depending on settings. This setting will be ignored if the time-format + value is set to custom. + + + + false + Show the month and date in the indicator + + Puts the month and the date in the panel along with the time and/or day + of the week depending on settings. This setting will be ignored if the + time-format value is set to custom. + + + "%l:%M %p" The format string passed to strftime - The format of the time and/or date that is visible on the panel when using the indicator. For most users this will be a set of predefined values as determined by the configuration utility, but advanced users can change it to anything strftime can accept. Look at the man page on strftime for more information. + + The format of the time and/or date that is visible on the panel when using + the indicator. For most users this will be a set of predefined values as + determined by the configuration utility, but advanced users can change it + to anything strftime can accept. Look at the man page on strftime for + more information. + -- cgit v1.2.3