From 4187293731274274e4283d9039f6e30c95578118 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 18 Aug 2008 16:18:42 +0000 Subject: Merge revisions 35993:36015 from trunk. Adapt recent "crash recovery" changes to new architecture. svn path=/branches/kill-bonobo/; revision=36018 --- calendar/ChangeLog | 30 ++++++++++++++++++++++++++++++ calendar/gui/calendar-component.c | 3 ++- calendar/gui/gnome-cal.c | 3 ++- calendar/gui/memos-component.c | 1 + calendar/gui/tasks-component.c | 1 + 5 files changed, 36 insertions(+), 2 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index a98600a82b..8d1deed13d 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,33 @@ +2008-08-18 Milan Crha + + ** Part of fix for bug #462242 + + * gui/gnome-cal.c: (default_client_cal_opened_cb): + Do not unref NULL pointers. + +2008-08-18 Matthew Barnes + + ** Fixes part of bug #508732 + + * gui/calendar-component.c (impl_createView): + * gui/memos-component.c (impl_createView): + * gui/tasks-component.c (impl_createView): + Add a "select_item" argument for crash recovery, which these + components do not use. + +2008-08-04 Paul Bolle + + * gui/gui/calendar-component.c: (set_info): + Use "Calendars" as label for component, not "Calendar", for + consistency. + +2008-08-14 Sebastien Bacher + + ** Fix for bug #547805 + + * gui/e-cal-popup.c: (ecalp_standard_menu_factory): + don't filter applications using g_app_info_should_show() + 2008-08-14 Matthew Barnes * gui/dialogs/comp-editor.c: diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index 4dff00825c..5ba3b11e96 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -802,7 +802,7 @@ set_info (CalendarComponentView *component_view) g_return_if_reached (); } - e_info_label_set_info (component_view->info_label, _("Calendar"), buffer); + e_info_label_set_info (component_view->info_label, _("Calendars"), buffer); } static void @@ -1550,6 +1550,7 @@ view_destroyed_cb (gpointer data, GObject *where_the_object_was) static GNOME_Evolution_ComponentView impl_createView (PortableServer_Servant servant, GNOME_Evolution_ShellView parent, + CORBA_boolean select_item, CORBA_Environment *ev) { CalendarComponent *calendar_component = CALENDAR_COMPONENT (bonobo_object_from_servant (servant)); diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index d2fd8f551b..4d65f094b8 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -2870,7 +2870,8 @@ default_client_cal_opened_cb (ECal *ecal, ECalendarStatus status, GnomeCalendar g_hash_table_remove (priv->clients[source_type], e_source_peek_uid (source)); /* FIXME Is there a better way to handle this? */ - g_object_unref (priv->default_client[source_type]); + if (priv->default_client[source_type]) + g_object_unref (priv->default_client[source_type]); priv->default_client[source_type] = NULL; g_signal_emit (gcal, gnome_calendar_signals[SOURCE_REMOVED], 0, source_type, source); diff --git a/calendar/gui/memos-component.c b/calendar/gui/memos-component.c index 31280d52cb..adf54c5c2d 100644 --- a/calendar/gui/memos-component.c +++ b/calendar/gui/memos-component.c @@ -1215,6 +1215,7 @@ view_destroyed_cb (gpointer data, GObject *where_the_object_was) static GNOME_Evolution_ComponentView impl_createView (PortableServer_Servant servant, GNOME_Evolution_ShellView parent, + CORBA_boolean select_item, CORBA_Environment *ev) { MemosComponent *component = MEMOS_COMPONENT (bonobo_object_from_servant (servant)); diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c index d976202a8c..ac272c83d1 100644 --- a/calendar/gui/tasks-component.c +++ b/calendar/gui/tasks-component.c @@ -1207,6 +1207,7 @@ view_destroyed_cb (gpointer data, GObject *where_the_object_was) static GNOME_Evolution_ComponentView impl_createView (PortableServer_Servant servant, GNOME_Evolution_ShellView parent, + CORBA_boolean select_item, CORBA_Environment *ev) { TasksComponent *component = TASKS_COMPONENT (bonobo_object_from_servant (servant)); -- cgit