aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-03-04 23:45:35 +0800
committerMilan Crha <mcrha@src.gnome.org>2009-03-04 23:45:35 +0800
commit2880be8e8221d1e1ab02d03920c68057f1faa52b (patch)
tree67a09395bea036f44a9b6693b530416ec0c989e3
parentbd8d2c529fe15e979dd2d33be2fa36c2358f0a96 (diff)
downloadgsoc2013-evolution-2880be8e8221d1e1ab02d03920c68057f1faa52b.tar
gsoc2013-evolution-2880be8e8221d1e1ab02d03920c68057f1faa52b.tar.gz
gsoc2013-evolution-2880be8e8221d1e1ab02d03920c68057f1faa52b.tar.bz2
gsoc2013-evolution-2880be8e8221d1e1ab02d03920c68057f1faa52b.tar.lz
gsoc2013-evolution-2880be8e8221d1e1ab02d03920c68057f1faa52b.tar.xz
gsoc2013-evolution-2880be8e8221d1e1ab02d03920c68057f1faa52b.tar.zst
gsoc2013-evolution-2880be8e8221d1e1ab02d03920c68057f1faa52b.zip
** Fix for bug #573193
2009-03-04 Milan Crha <mcrha@redhat.com> ** Fix for bug #573193 * gui/e-calendar-view.c: (error_response): Always destroy dialog. svn path=/trunk/; revision=37367
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/e-calendar-view.c5
2 files changed, 7 insertions, 4 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 0273e73646..d20ae05e55 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,11 @@
2009-03-04 Milan Crha <mcrha@redhat.com>
+ ** Fix for bug #573193
+
+ * gui/e-calendar-view.c: (error_response): Always destroy dialog.
+
+2009-03-04 Milan Crha <mcrha@redhat.com>
+
** Fix for bug #573122
* gui/dialogs/cal-prefs-dialog.c: (timezone_changed), (show_config):
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c
index fc22ee5c62..49a23c4120 100644
--- a/calendar/gui/e-calendar-view.c
+++ b/calendar/gui/e-calendar-view.c
@@ -2649,10 +2649,7 @@ draw_curved_rectangle (cairo_t *cr, double x0, double y0,
static void
error_response(GtkWidget *widget, gint response, void *data)
{
- if (response == GTK_RESPONSE_DELETE_EVENT)
- gtk_widget_destroy(widget);
- else if (response == GTK_RESPONSE_OK)
- gtk_widget_destroy(widget);
+ gtk_widget_destroy (widget);
}
void