From 5c0dca8bd51d32374d72ca870d0bfa11df8f1e78 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Mon, 7 Apr 2003 19:56:41 +0000 Subject: create button properly 2003-04-07 JP Rosevear * gui/dialogs/event-page.glade: create button properly * gui/itip-utils.c (comp_server_send): for errors other than busy, we want to email the results * pcs/cal-backend.c (cal_backend_ref_categories): insert the new category in the category list as well (idle_notify_categories_changed): reset idle id svn path=/trunk/; revision=20726 --- calendar/gui/dialogs/event-page.glade | 32 -------------------------------- calendar/gui/itip-utils.c | 6 ++---- 2 files changed, 2 insertions(+), 36 deletions(-) (limited to 'calendar/gui') diff --git a/calendar/gui/dialogs/event-page.glade b/calendar/gui/dialogs/event-page.glade index 6693c8af65..ea02dc9ba4 100644 --- a/calendar/gui/dialogs/event-page.glade +++ b/calendar/gui/dialogs/event-page.glade @@ -560,22 +560,6 @@ _Contacts... True GTK_RELIEF_NORMAL - - - - True - _Contacts... - True - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 4 - 0 - - 0 @@ -606,22 +590,6 @@ Ca_tegories... True GTK_RELIEF_NORMAL - - - - True - Ca_tegories... - True - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 4 - 0 - - 0 diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c index ab32ac79c1..7db8456209 100644 --- a/calendar/gui/itip-utils.c +++ b/calendar/gui/itip-utils.c @@ -533,7 +533,7 @@ comp_server_send (CalComponentItipMethod method, CalComponent *comp, CalClient * CalClientSendResult result; icalcomponent *top_level, *new_top_level = NULL; char error_msg[256]; - gboolean retval = FALSE; + gboolean retval = TRUE; top_level = comp_toplevel_with_zones (method, comp, client, zones); result = cal_client_send_object (client, top_level, &new_top_level, users, error_msg); @@ -545,8 +545,6 @@ comp_server_send (CalComponentItipMethod method, CalComponent *comp, CalClient * icalcomponent_remove_component (new_top_level, ical_comp); cal_component_set_icalcomponent (comp, ical_comp); icalcomponent_free (new_top_level); - - retval = TRUE; } else if (result == CAL_CLIENT_SEND_BUSY) { e_notice (NULL, GTK_MESSAGE_ERROR, error_msg); @@ -828,7 +826,7 @@ itip_send_comp (CalComponentItipMethod method, CalComponent *send_comp, CORBA_Object *composer_server; CalComponent *comp = NULL; icalcomponent *top_level = NULL; - GList *users; + GList *users = NULL; GNOME_Evolution_Composer_RecipientList *to_list = NULL; GNOME_Evolution_Composer_RecipientList *cc_list = NULL; GNOME_Evolution_Composer_RecipientList *bcc_list = NULL; -- cgit v1.2.3