Author: dmeyer
Date: Tue May  2 13:52:01 2006
New Revision: 8157

Modified:
   trunk/ui/src/menu/stack.py

Log:
support one line menus

Modified: trunk/ui/src/menu/stack.py
==============================================================================
--- trunk/ui/src/menu/stack.py  (original)
+++ trunk/ui/src/menu/stack.py  Tue May  2 13:52:01 2006
@@ -306,6 +306,12 @@
                 elif event == MENU_RIGHT:
                     event = MENU_PAGEDOWN
 
+        if isinstance(menu, Menu) and menu.rows == 1:
+            if event == MENU_LEFT:
+                event = MENU_UP
+            if event == MENU_RIGHT:
+                event = MENU_DOWN
+            
         if event == MENU_GOTO_MAINMENU:
             while len(self.menustack) > 1:
                 menu = self.menustack.pop()


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to