aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/event-page.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2005-06-22 22:32:36 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-06-22 22:32:36 +0800
commit6233ffcdc44f613aed1314ed2c8ac605115b5fa4 (patch)
tree8cfda10bacc9b6aa392e2ddc7ee5e801eab8d98a /calendar/gui/dialogs/event-page.c
parentca3816102af57541751a1f9a92a8d04a0a7fa3b9 (diff)
downloadgsoc2013-evolution-6233ffcdc44f613aed1314ed2c8ac605115b5fa4.tar
gsoc2013-evolution-6233ffcdc44f613aed1314ed2c8ac605115b5fa4.tar.gz
gsoc2013-evolution-6233ffcdc44f613aed1314ed2c8ac605115b5fa4.tar.bz2
gsoc2013-evolution-6233ffcdc44f613aed1314ed2c8ac605115b5fa4.tar.lz
gsoc2013-evolution-6233ffcdc44f613aed1314ed2c8ac605115b5fa4.tar.xz
gsoc2013-evolution-6233ffcdc44f613aed1314ed2c8ac605115b5fa4.tar.zst
gsoc2013-evolution-6233ffcdc44f613aed1314ed2c8ac605115b5fa4.zip
Commiting the fix for free busy and sensitizing the attachment bar properly.
svn path=/trunk/; revision=29566
Diffstat (limited to 'calendar/gui/dialogs/event-page.c')
-rw-r--r--calendar/gui/dialogs/event-page.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c
index 5c934f338f..3406e52351 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -680,7 +680,6 @@ event_page_fill_widgets (CompEditorPage *page, ECalComponent *comp)
ECalComponentClassification cl;
ECalComponentTransparency transparency;
ECalComponentDateTime start_date, end_date;
- icalcomponent *icalcomp = NULL;
const char *location, *uid = NULL;
const char *categories;
ESource *source;
@@ -802,8 +801,8 @@ event_page_fill_widgets (CompEditorPage *page, ECalComponent *comp)
e_source_option_menu_select (E_SOURCE_OPTION_MENU (priv->source_selector), source);
e_cal_component_get_uid (comp, &uid);
- if (!(COMP_EDITOR_PAGE (epage)->flags & COMP_EDITOR_PAGE_DELEGATE) && e_cal_get_object (COMP_EDITOR_PAGE (epage)->client, uid, NULL, &icalcomp, NULL)) {
- icalcomponent_free (icalcomp);
+ if (!(COMP_EDITOR_PAGE (epage)->flags & COMP_EDITOR_PAGE_DELEGATE)
+ && !(COMP_EDITOR_PAGE (epage)->flags && COMP_EDITOR_PAGE_NEW_ITEM)) {
event_page_hide_options (epage);
}