diff options
author | JP Rosevear <jpr@ximian.com> | 2003-10-29 22:21:34 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-10-29 22:21:34 +0800 |
commit | fd1be1837acc71058f3f0ab4b99526639300b862 (patch) | |
tree | 7c02838f3fa37a82c84ed0377007f0e58f69b0f6 /calendar/gui/dialogs | |
parent | 4cd045fb40ee5fcad3c5f86b9ecff5d4c21963cd (diff) | |
download | gsoc2013-evolution-fd1be1837acc71058f3f0ab4b99526639300b862.tar gsoc2013-evolution-fd1be1837acc71058f3f0ab4b99526639300b862.tar.gz gsoc2013-evolution-fd1be1837acc71058f3f0ab4b99526639300b862.tar.bz2 gsoc2013-evolution-fd1be1837acc71058f3f0ab4b99526639300b862.tar.lz gsoc2013-evolution-fd1be1837acc71058f3f0ab4b99526639300b862.tar.xz gsoc2013-evolution-fd1be1837acc71058f3f0ab4b99526639300b862.tar.zst gsoc2013-evolution-fd1be1837acc71058f3f0ab4b99526639300b862.zip |
unref config manager (init_widgets): create config manager for the
2003-10-29 JP Rosevear <jpr@ximian.com>
* gui/dialogs/recurrence-page.c (recurrence_page_finalize): unref
config manager
(init_widgets): create config manager for the e-calendar
* gui/e-tasks.c (setup_widgets): create config manager for the
table view
(e_tasks_destroy): unref config manager
(e_tasks_open): return FALSE not NULL
(e_tasks_update_all_config_settings): don't configure the calendar
table here, we have a manager
* gui/calendar-config.c: remove dead config functions (handled by
config managers now)
svn path=/trunk/; revision=23115
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r-- | calendar/gui/dialogs/recurrence-page.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c index 4599001c27..ece6c115bb 100644 --- a/calendar/gui/dialogs/recurrence-page.c +++ b/calendar/gui/dialogs/recurrence-page.c @@ -49,6 +49,7 @@ #include "../weekday-picker.h" #include "comp-editor-util.h" #include "../e-date-time-list.h" +#include "../e-mini-calendar-config.h" #include "recurrence-page.h" @@ -193,7 +194,8 @@ struct _RecurrencePagePrivate { /* For the recurrence preview, the actual widget */ GtkWidget *preview_calendar; - + EMiniCalendarConfig *preview_calendar_config; + gboolean updating; }; @@ -321,6 +323,11 @@ recurrence_page_finalize (GObject *object) priv->exception_list_store = NULL; } + if (priv->preview_calendar_config) { + g_object_unref (priv->preview_calendar_config); + priv->preview_calendar_config = NULL; + } + g_free (priv); rpage->priv = NULL; @@ -2254,10 +2261,10 @@ init_widgets (RecurrencePage *rpage) priv->preview_calendar = e_calendar_new (); ecal = E_CALENDAR (priv->preview_calendar); + priv->preview_calendar_config = e_mini_calendar_config_new (ecal); g_signal_connect((ecal->calitem), "date_range_changed", G_CALLBACK (preview_date_range_changed_cb), rpage); - calendar_config_configure_e_calendar (ecal); e_calendar_item_set_max_days_sel (ecal->calitem, 0); gtk_container_add (GTK_CONTAINER (priv->preview_bin), priv->preview_calendar); |