aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-datetime.c
diff options
context:
space:
mode:
authorkarl-qdh <karl@qdh.org.uk>2011-01-31 10:32:24 +0000
committerkarl-qdh <karl@qdh.org.uk>2011-01-31 10:32:24 +0000
commit12f38653661221531efa57287f1ef7410ae68935 (patch)
treec34811312305081e1cceaa233de8e1461decc19b /src/indicator-datetime.c
parent93a2d0e1f1b238e2c77eaa2ceb0070d92c72b317 (diff)
parentaaae5863299681153898d4e701f44aed85c780e9 (diff)
downloadayatana-indicator-datetime-12f38653661221531efa57287f1ef7410ae68935.tar.gz
ayatana-indicator-datetime-12f38653661221531efa57287f1ef7410ae68935.tar.bz2
ayatana-indicator-datetime-12f38653661221531efa57287f1ef7410ae68935.zip
Updated add type handler functions
Diffstat (limited to 'src/indicator-datetime.c')
-rw-r--r--src/indicator-datetime.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c
index 7aef969..e7a448e 100644
--- a/src/indicator-datetime.c
+++ b/src/indicator-datetime.c
@@ -116,7 +116,7 @@ struct _indicator_item_t {
#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"
@@ -1190,7 +1190,8 @@ new_appointment_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbu
static gboolean
new_calendar_item (DbusmenuMenuitem * newitem,
DbusmenuMenuitem * parent,
- DbusmenuClient * client)
+ DbusmenuClient * client,
+ gpointer user_data)
{
g_return_val_if_fail(DBUSMENU_IS_MENUITEM(newitem), FALSE);
g_return_val_if_fail(DBUSMENU_IS_GTKCLIENT(client), FALSE);
@@ -1216,7 +1217,8 @@ new_calendar_item (DbusmenuMenuitem * newitem,
static gboolean
new_timezone_item(DbusmenuMenuitem * newitem,
DbusmenuMenuitem * parent,
- DbusmenuClient * client)
+ DbusmenuClient * client,
+ gpointer user_data)
{
// Menu item with a radio button and a right aligned time