diff options
author | Bolian Yin <bolian.yin@sun.com> | 2003-07-02 09:35:29 +0800 |
---|---|---|
committer | Bolian Yin <byin@src.gnome.org> | 2003-07-02 09:35:29 +0800 |
commit | 1e9a3832fd634237c97f8e5bd90bb68897b789ca (patch) | |
tree | 8da777dc63d939debab07e4175d42c8c7f3f05ee /calendar/gui/e-day-view.c | |
parent | ee0d3c326ba3825b4c12a15d20d5c5692df2f629 (diff) | |
download | gsoc2013-evolution-1e9a3832fd634237c97f8e5bd90bb68897b789ca.tar.gz gsoc2013-evolution-1e9a3832fd634237c97f8e5bd90bb68897b789ca.tar.zst gsoc2013-evolution-1e9a3832fd634237c97f8e5bd90bb68897b789ca.zip |
Fixes #45328, #45329
2003-06-30 Bolian Yin <bolian.yin@sun.com>
Fixes #45328, #45329
* gui/e-day-view.c (e_day_view_do_key_press): Do not process
PageUp/PageDown, .. when the Alt key is pressed (give key binding
set the chance).
* gui/gnome-cal.h : define new enum type, GNOME_CAL_GOTO_DATE_TYPE.
* gui/gnome-cal.c (gnome_calendar_class_init): define new signal
"goto_date". Add key bindings for "Alt+PageUp/PageDown",
"Alt+Home/End".
(gnome_calendar_goto_date): Impl. signal handler for "goto_date".
svn path=/trunk/; revision=21717
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index 84fb5a4f89..bd3f4fd513 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -5691,7 +5691,7 @@ e_day_view_do_key_press (GtkWidget *widget, GdkEventKey *event) stop_emission = FALSE; break; } - } else { + } else if (!(event->state & GDK_MOD1_MASK)) { switch (keyval) { case GDK_Up: e_day_view_cursor_key_up (day_view, event); @@ -5716,6 +5716,8 @@ e_day_view_do_key_press (GtkWidget *widget, GdkEventKey *event) break; } } + else + stop_emission = FALSE; if (stop_emission) return TRUE; |