diff options
author | Rodrigo Moya <rodrigo@novell.com> | 2005-01-11 07:25:46 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2005-01-11 07:25:46 +0800 |
commit | c60c4bf7c4590b850d589d79ac44d057323a429f (patch) | |
tree | b5d4b0a83a22d1e059d82dfd667078fb4d0b9c18 /calendar/gui/e-day-view.c | |
parent | 63dea9ffd79289db5e4da0ced1b2cfd828a11bb3 (diff) | |
download | gsoc2013-evolution-c60c4bf7c4590b850d589d79ac44d057323a429f.tar.gz gsoc2013-evolution-c60c4bf7c4590b850d589d79ac44d057323a429f.tar.zst gsoc2013-evolution-c60c4bf7c4590b850d589d79ac44d057323a429f.zip |
remove the temporary object from the view when stopping editing.
2005-01-10 Rodrigo Moya <rodrigo@novell.com>
* gui/e-day-view.c (e_day_view_on_editing_stopped): remove the
temporary object from the view when stopping editing.
* gui/e-week-view.c (e_week_view_on_editing_stopped): ditto.
svn path=/trunk/; revision=28341
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index fb5de111ee..d4a0021731 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -6018,6 +6018,9 @@ e_day_view_on_editing_stopped (EDayView *day_view, g_message (G_STRLOC ": Could not create the object!"); else g_signal_emit_by_name (day_view, "user_created"); + + /* we remove the object since we either got the update from the server or failed */ + e_day_view_remove_event_cb (day_view, day, event_num, NULL); } else { CalObjModType mod = CALOBJ_MOD_ALL; GtkWindow *toplevel; |