diff options
Diffstat (limited to 'calendar/gui/e-itip-control.c')
-rw-r--r-- | calendar/gui/e-itip-control.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c index 8e1ee0df22..4292878c9b 100644 --- a/calendar/gui/e-itip-control.c +++ b/calendar/gui/e-itip-control.c @@ -168,6 +168,10 @@ update_calendar (EItipControlPrivate *priv) snprintf (cal_uri, 250, "%s/local/Calendar/calendar.ics", evolution_dir); client = cal_client_new (); + + gtk_signal_connect (GTK_OBJECT (client), "cal_loaded", + GTK_SIGNAL_FUNC (cal_loaded_cb), priv); + if (cal_client_load_calendar (client, cal_uri) == FALSE) { GtkWidget *dialog; @@ -178,9 +182,6 @@ update_calendar (EItipControlPrivate *priv) return; } - gtk_signal_connect (GTK_OBJECT (client), "cal_loaded", - GTK_SIGNAL_FUNC (cal_loaded_cb), priv); - gtk_progress_bar_update (GTK_PROGRESS_BAR (priv->loading_progress), 0.5); gtk_widget_show (priv->loading_progress); |