diff options
author | Damon Chaplin <damon@helixcode.com> | 2000-05-01 23:55:27 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2000-05-01 23:55:27 +0800 |
commit | 1e8e80293c2ede36f219f03197b6b7f959df93a4 (patch) | |
tree | 097b2abdf75f4e9c99d26216321518d050ab2dd1 /calendar/gui/e-day-view.h | |
parent | 42f7062a9b815b50a7a3b6b40247a3acec098fc2 (diff) | |
download | gsoc2013-evolution-1e8e80293c2ede36f219f03197b6b7f959df93a4.tar.gz gsoc2013-evolution-1e8e80293c2ede36f219f03197b6b7f959df93a4.tar.zst gsoc2013-evolution-1e8e80293c2ede36f219f03197b6b7f959df93a4.zip |
new function to get the currently seleted time range form the current
2000-05-01 Damon Chaplin <damon@helixcode.com>
* gui/gnome-cal.[hc] (gnome_calendar_get_current_time_range): new
function to get the currently seleted time range form the current view.
* gui/calendar-commands.c (display_objedit): use the above function
to get the time for the new appointment.
* gui/e-week-view.c:
* gui/e-day-view.c: use a shallow copy of the ico when we update the
times (when resizing/dragging). Otherwise we won't detect that the
time has changed in the "update_event" callback.
Also added functions to get the currently selected time range.
svn path=/trunk/; revision=2712
Diffstat (limited to 'calendar/gui/e-day-view.h')
-rw-r--r-- | calendar/gui/e-day-view.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.h b/calendar/gui/e-day-view.h index ea49fff0ee..b00a6f0b3c 100644 --- a/calendar/gui/e-day-view.h +++ b/calendar/gui/e-day-view.h @@ -419,6 +419,11 @@ void e_day_view_set_selected_time_range (EDayView *day_view, time_t start_time, time_t end_time); +/* Returns the selected time range. */ +void e_day_view_get_selected_time_range (EDayView *day_view, + time_t *start_time, + time_t *end_time); + /* This reloads all calendar events. */ void e_day_view_update_all_events (EDayView *day_view); |