diff options
author | Radek Doulik <rodo@ximian.com> | 2004-01-15 22:56:26 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2004-01-15 22:56:26 +0800 |
commit | 61b6bc071892caa59936667f65bdfce881f8889b (patch) | |
tree | c01ae48703bfacd951aff3ec0bdd620ed51747af /calendar/gui/tasks-component.c | |
parent | f9377c48533c15010ef9a76c8d6126ebe4732f88 (diff) | |
download | gsoc2013-evolution-61b6bc071892caa59936667f65bdfce881f8889b.tar gsoc2013-evolution-61b6bc071892caa59936667f65bdfce881f8889b.tar.gz gsoc2013-evolution-61b6bc071892caa59936667f65bdfce881f8889b.tar.bz2 gsoc2013-evolution-61b6bc071892caa59936667f65bdfce881f8889b.tar.lz gsoc2013-evolution-61b6bc071892caa59936667f65bdfce881f8889b.tar.xz gsoc2013-evolution-61b6bc071892caa59936667f65bdfce881f8889b.tar.zst gsoc2013-evolution-61b6bc071892caa59936667f65bdfce881f8889b.zip |
reset create_ecal
2004-01-15 Radek Doulik <rodo@ximian.com>
* gui/tasks-component.c (primary_source_selection_changed_cb):
reset create_ecal
* gui/calendar-component.c (impl_requestCreateItem): merge with
JP's changes
(primary_source_selection_changed_cb): reset create_ecal
svn path=/trunk/; revision=24239
Diffstat (limited to 'calendar/gui/tasks-component.c')
-rw-r--r-- | calendar/gui/tasks-component.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c index 3472aeb418..7aac4dae0c 100644 --- a/calendar/gui/tasks-component.c +++ b/calendar/gui/tasks-component.c @@ -411,6 +411,13 @@ source_selection_changed_cb (ESourceSelector *selector, TasksComponent *componen static void primary_source_selection_changed_cb (ESourceSelector *selector, TasksComponent *component) { + TasksComponentPrivate *priv = component->priv; + + if (priv->create_ecal) { + g_object_unref (priv->create_ecal); + priv->create_ecal = NULL; + } + update_uri_for_primary_selection (component); } |