diff options
author | Damon Chaplin <damon@helixcode.com> | 2000-06-21 12:36:23 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2000-06-21 12:36:23 +0800 |
commit | abd592ea8ca85828357e47a01ac9c433741b9825 (patch) | |
tree | b048e483631d619fb3276d47c15bbc13475f899c /calendar/gui/e-day-view.h | |
parent | 259ccb8fe525a279b9c0ed74fdad16b332888e4a (diff) | |
download | gsoc2013-evolution-abd592ea8ca85828357e47a01ac9c433741b9825.tar gsoc2013-evolution-abd592ea8ca85828357e47a01ac9c433741b9825.tar.gz gsoc2013-evolution-abd592ea8ca85828357e47a01ac9c433741b9825.tar.bz2 gsoc2013-evolution-abd592ea8ca85828357e47a01ac9c433741b9825.tar.lz gsoc2013-evolution-abd592ea8ca85828357e47a01ac9c433741b9825.tar.xz gsoc2013-evolution-abd592ea8ca85828357e47a01ac9c433741b9825.tar.zst gsoc2013-evolution-abd592ea8ca85828357e47a01ac9c433741b9825.zip |
changed so it keeps the selection range. It just moves it on one day/week
2000-06-21 Damon Chaplin <damon@helixcode.com>
* gui/gnome-cal.c (gnome_calendar_direction): changed so it keeps the
selection range. It just moves it on one day/week etc. This makes
it very handy for the keyboard shortcut code.
* gui/calendar-commands.c (calendar_control_activate): fixed bug
setting the radio button active.
* gui/e-day-view.[hc]: added support for keyboard navigation and
selection of the time range.
svn path=/trunk/; revision=3665
Diffstat (limited to 'calendar/gui/e-day-view.h')
-rw-r--r-- | calendar/gui/e-day-view.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/calendar/gui/e-day-view.h b/calendar/gui/e-day-view.h index 17bbff6be5..8e1fb29bc2 100644 --- a/calendar/gui/e-day-view.h +++ b/calendar/gui/e-day-view.h @@ -128,7 +128,6 @@ typedef enum /* These specify which part of the selection we are dragging, if any. */ typedef enum { - E_DAY_VIEW_DRAG_NONE, E_DAY_VIEW_DRAG_START, E_DAY_VIEW_DRAG_END } EDayViewDragPosition; @@ -338,8 +337,11 @@ struct _EDayView gint selection_start_row; gint selection_end_row; - /* This specifies which end of the selection is being dragged, or is - E_DAY_VIEW_DRAG_NONE if the selection isn't being dragged. */ + /* This is TRUE if the selection is currently being dragged using the + mouse. */ + gboolean selection_is_being_dragged; + + /* This specifies which end of the selection is being dragged. */ EDayViewDragPosition selection_drag_pos; /* This is TRUE if the selection is in the top canvas only (i.e. if the |