[evolution-patches] Patch about a11y bugs in addressbook



hi,hpj

Attach is a patch to add the Shift+F10 keyboard support to EMinicard.

Please Would you like to spend a little time to review it, please?

Best regards
hao.sheng


Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1854
diff -u -p -r1.1854 ChangeLog
--- ChangeLog	27 Oct 2004 16:06:52 -0000	1.1854
+++ ChangeLog	1 Nov 2004 12:58:53 -0000
@@ -1,3 +1,8 @@
+2004-11-1   Hao Sheng  <hao sheng sun com>
+
+	* gui/widgets/e-minicard-view.c: popup right-click menu after
+	pressing Shift+F10.
+
 2004-10-27  Andre Klapper  <a9016009 gmx de>
 
        * tools/evolution-addressbook-export.c: 
Index: gui/widgets/e-minicard-view.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/widgets/e-minicard-view.c,v
retrieving revision 1.65
diff -u -p -r1.65 e-minicard-view.c
--- gui/widgets/e-minicard-view.c	23 Jun 2004 22:40:24 -0000	1.65
+++ gui/widgets/e-minicard-view.c	1 Nov 2004 12:58:56 -0000
@@ -29,6 +29,7 @@
 
 #include <gtk/gtkselection.h>
 #include <gtk/gtkdnd.h>
+#include <gdk/gdkkeysyms.h>
 #include <gal/widgets/e-canvas.h>
 #include <libgnome/gnome-i18n.h>
 #include <string.h>
@@ -353,6 +354,12 @@ e_minicard_view_event (GnomeCanvasItem *
 		}
 	case GDK_BUTTON_PRESS:
 		if (event->button.button == 3) {
+			e_minicard_view_right_click (view, event);
+		}
+		break;
+	case GDK_KEY_PRESS:
+		if (event->key.keyval & GDK_SHIFT_MASK &&
+			event->key.keyval == GDK_F10) {
 			e_minicard_view_right_click (view, event);
 		}
 		break;


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