aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorKidd Wang <kidd.wang@sun.com>2003-12-29 17:58:32 +0800
committerHarry Lu <haip@src.gnome.org>2003-12-29 17:58:32 +0800
commit68a053e3d3626de202240e9f9344e4d3afe78246 (patch)
treead5aedc23ff1eb4f9a97ae0c1c785886d4495bb1 /calendar/gui/e-day-view.c
parent4d52f684219df276a621cf7a40fea3f3112c578b (diff)
downloadgsoc2013-evolution-68a053e3d3626de202240e9f9344e4d3afe78246.tar.gz
gsoc2013-evolution-68a053e3d3626de202240e9f9344e4d3afe78246.tar.zst
gsoc2013-evolution-68a053e3d3626de202240e9f9344e4d3afe78246.zip
add a menu item for "open appointment".
2003-12-29 Kidd Wang <kidd.wang@sun.com> * gui/calendar-commands.c (file_open_event_cb): add a menu item for "open appointment". * gui/e-cal-view.[ch] (e_calendar_view_open_event): add a signal "open_event" and bind it to "ctrl+o". When the signal is delivered, a dialog will be opened to edit the selected event. * gui/e-calendar-table.c (e_calendar_table_on_key_press): press "ctrl-o" to open a dialog. svn path=/trunk/; revision=24012
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 0c08468a7d..d4e436dc6d 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -2101,7 +2101,7 @@ e_day_view_recalc_day_starts (EDayView *day_view,
day_view->lower = start_time;
day_view->upper = day_view->day_starts[day_view->days_shown];
- e_day_view_update_query (day_view);
+ e_day_view_update_query ((ECalendarView *) day_view);
}
@@ -3906,6 +3906,9 @@ e_day_view_free_events (EDayView *day_view)
day_view->resize_event_day = -1;
day_view->pressed_event_day = -1;
day_view->drag_event_day = -1;
+ day_view->editing_event_num = -1;
+ day_view->popup_event_num = -1;
+
e_day_view_free_event_array (day_view, day_view->long_events);