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