gimp r25553 - in trunk: . app/display



Author: neo
Date: Wed Apr 30 08:43:37 2008
New Revision: 25553
URL: http://svn.gnome.org/viewvc/gimp?rev=25553&view=rev

Log:
2008-04-30  Sven Neumann  <sven gimp org>

	* app/display/gimpscalecombobox.c
	(gimp_scale_combo_box_entry_key_press): also handle the Tab keys
	and call the "activate" handler when Tab is pressed.



Modified:
   trunk/ChangeLog
   trunk/app/display/gimpscalecombobox.c

Modified: trunk/app/display/gimpscalecombobox.c
==============================================================================
--- trunk/app/display/gimpscalecombobox.c	(original)
+++ trunk/app/display/gimpscalecombobox.c	Wed Apr 30 08:43:37 2008
@@ -346,6 +346,15 @@
       return TRUE;
     }
 
+  if (event->keyval == GDK_Tab    ||
+      event->keyval == GDK_KP_Tab ||
+      event->keyval == GDK_ISO_Left_Tab)
+    {
+      gimp_scale_combo_box_entry_activate (entry, combo_box);
+
+      return TRUE;
+    }
+
   return FALSE;
 }
 



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