aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-datetime.c
diff options
context:
space:
mode:
authorkarl-qdh <karl@qdh.org.uk>2011-03-23 15:03:46 +0000
committerkarl-qdh <karl@qdh.org.uk>2011-03-23 15:03:46 +0000
commit438f4a55d549ae766be9add0e91bad5776b85130 (patch)
tree3e3899660087eb1fc0e508a5b0c7f1f61a4854b8 /src/indicator-datetime.c
parentf436da0a3f8cf7a01ccb0ae062d53e5be6cd5ff8 (diff)
parent74fe3165a907c7e7948c7a2066188eda2f234b59 (diff)
downloadayatana-indicator-datetime-438f4a55d549ae766be9add0e91bad5776b85130.tar.gz
ayatana-indicator-datetime-438f4a55d549ae766be9add0e91bad5776b85130.tar.bz2
ayatana-indicator-datetime-438f4a55d549ae766be9add0e91bad5776b85130.zip
merged back with sniffles branch and added some changes to the resetdate, which also effects the marked days.
Diffstat (limited to 'src/indicator-datetime.c')
-rw-r--r--src/indicator-datetime.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c
index fb77974..7b1164d 100644
--- a/src/indicator-datetime.c
+++ b/src/indicator-datetime.c
@@ -1239,8 +1239,6 @@ new_appointment_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbu
dbusmenu_gtkclient_newitem_base(DBUSMENU_GTKCLIENT(client), newitem, GTK_MENU_ITEM(mi_data->gmi), parent);
g_signal_connect(G_OBJECT(newitem), DBUSMENU_MENUITEM_SIGNAL_PROPERTY_CHANGED, G_CALLBACK(indicator_prop_change_cb), mi_data);
- g_signal_connect_swapped(G_OBJECT(newitem), "destroyed", G_CALLBACK(g_free), mi_data);
-
return TRUE;
}
@@ -1334,6 +1332,7 @@ new_calendar_item (DbusmenuMenuitem * newitem,
g_signal_connect_after(ido, "day-selected", G_CALLBACK(day_selected_cb), (gpointer)newitem);
g_signal_connect_after(ido, "day-selected-double-click", G_CALLBACK(day_selected_double_click_cb), (gpointer)newitem);
+ g_signal_connect(G_OBJECT(newitem), DBUSMENU_MENUITEM_SIGNAL_PROPERTY_CHANGED, G_CALLBACK(indicator_prop_change_cb), ido);
return TRUE;
}