eog r4692 - in trunk: . src



Author: friemann
Date: Sun Aug 17 10:04:38 2008
New Revision: 4692
URL: http://svn.gnome.org/viewvc/eog?rev=4692&view=rev

Log:
2008-08-17  Felix Riemann  <friemann svn gnome org>

	* src/eog-scroll-view.c: (display_key_press_event): Don't let
	EogScrollView handle Alt+Key combos to avoid interferences with
	the menubar shortcuts. Fixes bug #548079.


Modified:
   trunk/ChangeLog
   trunk/src/eog-scroll-view.c

Modified: trunk/src/eog-scroll-view.c
==============================================================================
--- trunk/src/eog-scroll-view.c	(original)
+++ trunk/src/eog-scroll-view.c	Sun Aug 17 10:04:38 2008
@@ -1110,6 +1110,11 @@
 	width = GTK_WIDGET (priv->display)->allocation.width;
 	height = GTK_WIDGET (priv->display)->allocation.height;
 
+	/* EogScrollView doesn't handle/have any Alt+Key combos */
+	if (event->state & GDK_MOD1_MASK) {
+		return FALSE;
+	}
+
 	switch (event->keyval) {
 	case GDK_Up:
 		do_scroll = TRUE;



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