[gnome-calendar] Added has_reminders get/set handling.
- From: Erick PÃrez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] Added has_reminders get/set handling.
- Date: Thu, 23 Aug 2012 13:45:41 +0000 (UTC)
commit 983b63fbac3c7c80084483743d4bf54a016b6755
Author: Erick PÃrez Castellanos <erick red gmail com>
Date: Wed Aug 22 21:37:57 2012 -0400
Added has_reminders get/set handling.
Minor fixes.
src/gcal-window.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index 4c9425b..edff73d 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -412,8 +412,7 @@ gcal_window_finalize (GObject *object)
if (priv->active_date != NULL)
g_free (priv->active_date);
- if (G_OBJECT_CLASS (gcal_window_parent_class)->finalize != NULL)
- G_OBJECT_CLASS (gcal_window_parent_class)->finalize (object);
+ G_OBJECT_CLASS (gcal_window_parent_class)->finalize (object);
}
static void
@@ -834,6 +833,11 @@ gcal_window_events_added (GcalManager *manager,
gcal_manager_get_event_all_day (manager,
source_uid,
event_uid));
+ gcal_event_widget_set_has_reminders (
+ GCAL_EVENT_WIDGET (event),
+ gcal_manager_has_event_reminders (manager,
+ source_uid,
+ event_uid));
gtk_widget_show (event);
/* FIXME: add event-widget to every instantiated view, not pretty sure
@@ -843,7 +847,7 @@ gcal_window_events_added (GcalManager *manager,
event);
g_signal_connect (event,
- "activated",
+ "activate",
G_CALLBACK (gcal_window_event_activated),
user_data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]