From 055117811e158aa5900ff82c18bb0241aad76d4f Mon Sep 17 00:00:00 2001 From: Harish Krishnaswamy Date: Thu, 12 Jan 2006 14:55:33 +0000 Subject: Re-define keyboard shortcuts for switching between views. UI Hackfest - 2006-01-12 Harish Krishnaswamy * 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 --- calendar/gui/gnome-cal.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'calendar/gui/gnome-cal.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); -- cgit