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/gui | |
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/gui')
-rw-r--r-- | calendar/gui/gnome-cal.c | 16 |
1 files changed, 8 insertions, 8 deletions
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); |