diff options
author | Harish Krishnaswamy <kharish@novell.com> | 2006-01-12 22:55:33 +0800 |
---|---|---|
committer | Harish Krishnaswamy <kharish@src.gnome.org> | 2006-01-12 22:55:33 +0800 |
commit | 055117811e158aa5900ff82c18bb0241aad76d4f (patch) | |
tree | ce245928b8b68a55a06d10dac97487b4da57093f /calendar | |
parent | a5d975f1181912229f2913a468a31f6ad4276918 (diff) | |
download | gsoc2013-evolution-055117811e158aa5900ff82c18bb0241aad76d4f.tar.gz gsoc2013-evolution-055117811e158aa5900ff82c18bb0241aad76d4f.tar.zst gsoc2013-evolution-055117811e158aa5900ff82c18bb0241aad76d4f.zip |
Re-define keyboard shortcuts for switching between views. UI Hackfest -
2006-01-12 Harish Krishnaswamy <kharish@novell.com>
* gui/gnome-cal.c: (gnome_calendar_class_init):
Re-define keyboard shortcuts for switching between views.
UI Hackfest - Refer http://go-evolution.org/Shortcut_Keys_Review
svn path=/trunk/; revision=31147
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 8 | ||||
-rw-r--r-- | calendar/gui/gnome-cal.c | 16 |
2 files changed, 15 insertions, 9 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index cba30a1d84..f49d0295a5 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,6 +1,12 @@ +2006-01-12 Harish Krishnaswamy <kharish@novell.com> + + * gui/gnome-cal.c: (gnome_calendar_class_init): + Re-define keyboard shortcuts for switching between views. + UI Hackfest - Refer http://go-evolution.org/Shortcut_Keys_Review + 2006-01-10 Simon Zheng <simon.zheng@sun.com> - * gui/calendar-component.c: (calendar_component_peek): + * gui/calendar-component.c: (calendar_component_peek): * gui/calendar-config.c: * gui/e-cal-model-tasks.c: * gui/e-cal-popup.c: diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index d3b2ac5014..f3612e4c41 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -415,30 +415,30 @@ gnome_calendar_class_init (GnomeCalendarClass *class) G_TYPE_ENUM, GNOME_CAL_GOTO_SAME_DAY_OF_NEXT_WEEK); - /* Ctrl+Alt+ Y/W/E/M/L to switch between + /* Ctrl+Y/J/K/M/L to switch between * DayView/WorkWeekView/WeekView/MonthView/ListView */ gtk_binding_entry_add_signal (binding_set, GDK_y, - GDK_CONTROL_MASK | GDK_MOD1_MASK, + GDK_CONTROL_MASK, "change_view", 1, G_TYPE_ENUM, GNOME_CAL_DAY_VIEW); - gtk_binding_entry_add_signal (binding_set, GDK_w, - GDK_CONTROL_MASK | GDK_MOD1_MASK, + gtk_binding_entry_add_signal (binding_set, GDK_j, + GDK_CONTROL_MASK, "change_view", 1, G_TYPE_ENUM, GNOME_CAL_WORK_WEEK_VIEW); - gtk_binding_entry_add_signal (binding_set, GDK_e, - GDK_CONTROL_MASK | GDK_MOD1_MASK, + gtk_binding_entry_add_signal (binding_set, GDK_k, + GDK_CONTROL_MASK, "change_view", 1, G_TYPE_ENUM, GNOME_CAL_WEEK_VIEW); gtk_binding_entry_add_signal (binding_set, GDK_m, - GDK_CONTROL_MASK | GDK_MOD1_MASK, + GDK_CONTROL_MASK, "change_view", 1, G_TYPE_ENUM, GNOME_CAL_MONTH_VIEW); gtk_binding_entry_add_signal (binding_set, GDK_l, - GDK_CONTROL_MASK | GDK_MOD1_MASK, + GDK_CONTROL_MASK, "change_view", 1, G_TYPE_ENUM, GNOME_CAL_LIST_VIEW); |