[evolution-patches] Change the keys which need to be pressed to change the end time [Calendar->day view]



Hi,
  I have attach a fix for Calendar module.
Change the keys which need to be pressed to alter the end time
of the event selected. Now: Ctrl+Shift+Up(or Down)
Before: Ctrl+Alt+Shift+Up(or Down) conflict with switching
the workspace in Gnome Desktop.
Boby.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2802.2.36
diff -u -r1.2802.2.36 ChangeLog
--- ChangeLog	21 Dec 2005 08:41:00 -0000	1.2802.2.36
+++ ChangeLog	23 Dec 2005 10:44:09 -0000
@@ -1,3 +1,13 @@
+2005-12-23  Boby Wang <boby wang sun com>
+
+	reviewed by: <delete if not using a buddy>
+
+	* gui/e-day-view.c: (e_day_view_on_text_item_event):
+	Change the keys which need to be pressed to alter the end time
+	of the event selected. Now: Ctrl+Shift+Up(or Down)
+	Before: Ctrl+Alt+Shift+Up(or Down) conflict with switching
+	the workspace in Gnome Desktop.
+
 2005-12-21  P S Chakravarthi <pchakravarthi novell com>
 
 	Fixes #248133
Index: gui/e-day-view.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/e-day-view.c,v
retrieving revision 1.286.2.1
diff -u -r1.286.2.1 e-day-view.c
--- gui/e-day-view.c	9 Nov 2005 11:48:17 -0000	1.286.2.1
+++ gui/e-day-view.c	23 Dec 2005 10:44:10 -0000
@@ -5802,13 +5802,13 @@
                } else if ((event->key.keyval == GDK_Up)
                           && (event->key.state & GDK_SHIFT_MASK)
                           && (event->key.state & GDK_CONTROL_MASK)
-                          && (event->key.state & GDK_MOD1_MASK)) {
+                          && !(event->key.state & GDK_MOD1_MASK)) {
                        e_day_view_change_event_end_time_up (day_view);
                        return TRUE;
                } else if ((event->key.keyval == GDK_Down)
                           && (event->key.state & GDK_SHIFT_MASK)
                           && (event->key.state & GDK_CONTROL_MASK)
-                          && (event->key.state & GDK_MOD1_MASK)) {
+                          && !(event->key.state & GDK_MOD1_MASK)) {
                        e_day_view_change_event_end_time_down (day_view);
                        return TRUE;
 		}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]