gnome-games r7226 - trunk/aisleriot



Author: chpe
Date: Sun Jan 13 22:43:12 2008
New Revision: 7226
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7226&view=rev

Log:
Update keynav spec.
Move focus to the first slot with PgUp/Down if no slot is focused yet.


Modified:
   trunk/aisleriot/board.c

Modified: trunk/aisleriot/board.c
==============================================================================
--- trunk/aisleriot/board.c	(original)
+++ trunk/aisleriot/board.c	Sun Jan 13 22:43:12 2008
@@ -1577,8 +1577,10 @@
  * <shift><control>A: unsets the selection
  *
  * Notes:
- * - if no slot is currently focused, any cursor moves set the focus to the
- *   topmost card on the first slot
+ * If no slot is currently focused:
+ * Right, Up, Down, PgUp, PgDown, Home: moves the focus to the bottommost card on the first
+ *   slot
+ * Left, End: moves the focus to the topmost card on the last slot
  */
 
 static void
@@ -2303,6 +2305,7 @@
   if (!priv->focus_slot) {
     switch (step) {
       case GTK_MOVEMENT_DISPLAY_LINES:
+      case GTK_MOVEMENT_PAGES:
         /* Focus the first slot */
         return aisleriot_board_move_cursor_start_end_by_slot (board, -1);
       case GTK_MOVEMENT_LOGICAL_POSITIONS:



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