aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-01-26 22:41:24 -0600
committerTed Gould <ted@gould.cx>2011-01-26 22:41:24 -0600
commit4dac00730b8831cab47459199a3944b0e35b6f78 (patch)
tree535fe8c22e224e87405b2a9d7a6760803efb9c95
parentcd14524ec56a149b9c9c9fa780698ea42738cb61 (diff)
parent5d546ac1d21e12538076d136b899b92c937cb479 (diff)
downloadayatana-indicator-datetime-4dac00730b8831cab47459199a3944b0e35b6f78.tar.gz
ayatana-indicator-datetime-4dac00730b8831cab47459199a3944b0e35b6f78.tar.bz2
ayatana-indicator-datetime-4dac00730b8831cab47459199a3944b0e35b6f78.zip
Change to com.canonical and adding a log domain.
-rw-r--r--data/Makefile.am2
-rw-r--r--data/com.canonical.indicator.datetime.gschema.xml (renamed from data/org.ayatana.indicator.datetime.gschema.xml)2
-rw-r--r--data/indicator-datetime.service.in2
-rw-r--r--src/Makefile.am6
-rw-r--r--src/datetime-service.xml2
-rw-r--r--src/dbus-shared.h8
-rw-r--r--src/indicator-datetime.c2
7 files changed, 13 insertions, 11 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 0e8dec3..de417b2 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,7 +1,7 @@
#SUBDIRS = icons
gsettings_SCHEMAS = \
- org.ayatana.indicator.datetime.gschema.xml
+ com.canonical.indicator.datetime.gschema.xml
@GSETTINGS_RULES@
dbus_servicesdir = $(DBUSSERVICEDIR)
diff --git a/data/org.ayatana.indicator.datetime.gschema.xml b/data/com.canonical.indicator.datetime.gschema.xml
index 4f071c8..fe493f7 100644
--- a/data/org.ayatana.indicator.datetime.gschema.xml
+++ b/data/com.canonical.indicator.datetime.gschema.xml
@@ -5,7 +5,7 @@
<value nick="24-hour" value="2" />
<value nick="custom" value="3" />
</enum>
- <schema id="org.ayatana.indicator.datetime" path="/apps/indicators/datetime/" gettext-domain="indicator-datetime">
+ <schema id="com.canonical.indicator.datetime" path="/com/canonical/indicator/datetime/" gettext-domain="indicator-datetime">
<key name="time-format" enum="time-enum">
<default>'locale-default'</default>
<summary>What the time format should be</summary>
diff --git a/data/indicator-datetime.service.in b/data/indicator-datetime.service.in
index bcb70e3..e7735ce 100644
--- a/data/indicator-datetime.service.in
+++ b/data/indicator-datetime.service.in
@@ -1,3 +1,3 @@
[D-BUS Service]
-Name=org.ayatana.indicator.datetime
+Name=com.canonical.indicator.datetime
Exec=@libexecdir@/indicator-datetime-service
diff --git a/src/Makefile.am b/src/Makefile.am
index 5e3625d..7a290c6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -13,7 +13,8 @@ indicator_datetime_service_CFLAGS = \
-Wall \
-Werror \
$(SERVICE_CFLAGS) \
- -DTIMEZONE_FILE="\"/etc/timezone\""
+ -DTIMEZONE_FILE="\"/etc/timezone\"" \
+ -DG_LOG_DOMAIN=\"Indicator-Datetime\"
indicator_datetime_service_LDADD = \
$(SERVICE_LIBS)
@@ -25,7 +26,8 @@ libdatetime_la_SOURCES = \
indicator-datetime.c
libdatetime_la_CFLAGS = \
$(INDICATOR_CFLAGS) \
- -Wall -Werror
+ -Wall -Werror \
+ -DG_LOG_DOMAIN=\"Indicator-Datetime\"
libdatetime_la_LIBADD = \
$(INDICATOR_LIBS)
libdatetime_la_LDFLAGS = \
diff --git a/src/datetime-service.xml b/src/datetime-service.xml
index 1207ebb..eda064f 100644
--- a/src/datetime-service.xml
+++ b/src/datetime-service.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<node name="/">
- <interface name="org.ayatana.indicator.datetime.service">
+ <interface name="com.canonical.indicator.datetime.service">
<!-- Methods -->
diff --git a/src/dbus-shared.h b/src/dbus-shared.h
index 357beb5..e6dc241 100644
--- a/src/dbus-shared.h
+++ b/src/dbus-shared.h
@@ -20,12 +20,12 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#define SERVICE_NAME "org.ayatana.indicator.datetime"
-#define SERVICE_IFACE "org.ayatana.indicator.datetime.service"
-#define SERVICE_OBJ "/org/ayatana/indicator/datetime/service"
+#define SERVICE_NAME "com.canonical.indicator.datetime"
+#define SERVICE_IFACE "com.canonical.indicator.datetime.service"
+#define SERVICE_OBJ "/com/canonical/indicator/datetime/service"
#define SERVICE_VERSION 1
-#define MENU_OBJ "/org/ayatana/indicator/datetime/menu"
+#define MENU_OBJ "/com/canonical/indicator/datetime/menu"
#define DBUSMENU_CALENDAR_MENUITEM_TYPE "x-canonical-calendar-item"
diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c
index c3b7e4a..377cf17 100644
--- a/src/indicator-datetime.c
+++ b/src/indicator-datetime.c
@@ -108,7 +108,7 @@ enum {
#define PROP_SHOW_DATE_S "show-date"
#define PROP_CUSTOM_TIME_FORMAT_S "custom-time-format"
-#define SETTINGS_INTERFACE "org.ayatana.indicator.datetime"
+#define SETTINGS_INTERFACE "com.canonical.indicator.datetime"
#define SETTINGS_TIME_FORMAT_S "time-format"
#define SETTINGS_SHOW_SECONDS_S "show-seconds"
#define SETTINGS_SHOW_DAY_S "show-day"