aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/itip-formatter
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2005-08-29 12:19:42 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-08-29 12:19:42 +0800
commit5994fe010ebb2d063a5913eecfc4596a219c3f5b (patch)
tree44e70b859e1f9bad0eeb2fc56be70d1917c73451 /plugins/itip-formatter
parentccd2e050c181cdac3fc2133e064431fc3cf54696 (diff)
downloadgsoc2013-evolution-5994fe010ebb2d063a5913eecfc4596a219c3f5b.tar.gz
gsoc2013-evolution-5994fe010ebb2d063a5913eecfc4596a219c3f5b.tar.zst
gsoc2013-evolution-5994fe010ebb2d063a5913eecfc4596a219c3f5b.zip
Fixes #313534 Moved the code to display recur check box to cal_opened_cb.
2005-08-29 Chenthill Palanisamy <pchenthill@novell.com> Fixes #313534 * itip-formatter.c: (cal_opened_cb), (find_cal_opened_cb): Moved the code to display recur check box to cal_opened_cb. svn path=/trunk/; revision=30280
Diffstat (limited to 'plugins/itip-formatter')
-rw-r--r--plugins/itip-formatter/ChangeLog6
-rw-r--r--plugins/itip-formatter/itip-formatter.c16
2 files changed, 14 insertions, 8 deletions
diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog
index e79d1f5107..92d78c2365 100644
--- a/plugins/itip-formatter/ChangeLog
+++ b/plugins/itip-formatter/ChangeLog
@@ -1,3 +1,9 @@
+2005-08-29 Chenthill Palanisamy <pchenthill@novell.com>
+
+ Fixes #313534
+ * itip-formatter.c: (cal_opened_cb), (find_cal_opened_cb):
+ Moved the code to display recur check box to cal_opened_cb.
+
2005-08-23 Not Zed <NotZed@Ximian.com>
* itip-view.c: add missing headers.
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index 115078392a..64f8a96267 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -278,6 +278,14 @@ cal_opened_cb (ECal *ecal, ECalendarStatus status, gpointer data)
return;
}
+ if (e_cal_get_static_capability (ecal, CAL_STATIC_CAPABILITY_RECURRENCES_NO_MASTER)) {
+ icalcomponent *icalcomp = e_cal_component_get_icalcomponent (pitip->comp);
+
+ if (check_is_instance (icalcomp))
+ itip_view_set_show_recur_check (ITIP_VIEW (pitip->view), TRUE);
+ else
+ itip_view_set_show_recur_check (ITIP_VIEW (pitip->view), FALSE);
+ }
zone = calendar_config_get_icaltimezone ();
e_cal_set_default_timezone (ecal, zone, NULL);
@@ -425,14 +433,6 @@ find_cal_opened_cb (ECal *ecal, ECalendarStatus status, gpointer data)
"Found the appointment in the calendar '%s'", e_source_peek_name (source));
set_buttons_sensitive (pitip);
- if (e_cal_get_static_capability (ecal, CAL_STATIC_CAPABILITY_RECURRENCES_NO_MASTER)) {
- icalcomponent *icalcomp = e_cal_component_get_icalcomponent (pitip->comp);
-
- if (check_is_instance (icalcomp))
- itip_view_set_show_recur_check (ITIP_VIEW (pitip->view), TRUE);
- else
- itip_view_set_show_recur_check (ITIP_VIEW (pitip->view), FALSE);
- }
}
zone = calendar_config_get_icaltimezone ();