diff options
author | Chenthill Palanisamy <pchenthill@novell.com> | 2006-04-24 15:55:56 +0800 |
---|---|---|
committer | Harish Krishnaswamy <kharish@src.gnome.org> | 2006-04-24 15:55:56 +0800 |
commit | d91fa3b9901e778cf7814dd3f4f69f0e80d8eef9 (patch) | |
tree | 8eaf21d6b558b83ef1bd9a2bce453cba6fcda2ba /calendar/gui/calendar-component.c | |
parent | 6ee18ea859f29a61e2a2b71e6acf4e92063fa51f (diff) | |
download | gsoc2013-evolution-d91fa3b9901e778cf7814dd3f4f69f0e80d8eef9.tar.gz gsoc2013-evolution-d91fa3b9901e778cf7814dd3f4f69f0e80d8eef9.tar.zst gsoc2013-evolution-d91fa3b9901e778cf7814dd3f4f69f0e80d8eef9.zip |
Fixes #332409 Reset the ecal to NULL. If the default client does not exist
2006-04-24 Chenthill Palanisamy <pchenthill@novell.com>
Fixes #332409
* gui/calendar-component.c: (setup_create_ecal): Reset the ecal to NULL.
* gui/e-calendar-view.c:
(e_calendar_view_new_appointment_for): If the default client does not
exist do not open the dialog.
svn path=/trunk/; revision=31879
Diffstat (limited to 'calendar/gui/calendar-component.c')
-rw-r--r-- | calendar/gui/calendar-component.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index b88850c8ce..5b01f5563e 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -1138,8 +1138,11 @@ setup_create_ecal (CalendarComponent *calendar_component, CalendarComponentView GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, _("Unable to open the calendar '%s' for creating events and meetings"), e_source_peek_name (source)); + gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); + g_object_unref (priv->create_ecal); + priv->create_ecal = NULL; return NULL; } |