metacity r3968 - in trunk: . src/core



Author: tthurman
Date: Tue Oct 21 11:58:04 2008
New Revision: 3968
URL: http://svn.gnome.org/viewvc/metacity?rev=3968&view=rev

Log:
2008-10-21  Tomas Frydrych  <tf linux intel com>

       * src/core/screen-bindings.h: Fix off-by-one error.
       * src/core/window-bindings.h: Fix off-by-one error.
       Closes #557201.



Modified:
   trunk/ChangeLog
   trunk/src/core/screen-bindings.h
   trunk/src/core/window-bindings.h

Modified: trunk/src/core/screen-bindings.h
==============================================================================
--- trunk/src/core/screen-bindings.h	(original)
+++ trunk/src/core/screen-bindings.h	Tue Oct 21 11:58:04 2008
@@ -92,40 +92,40 @@
 /* convenience, since in this file they must always be set together */
 #define REVERSES_AND_REVERSED (BINDING_REVERSES | BINDING_IS_REVERSED)
 
-item (switch_to_workspace, "_1", 1, 0,
+item (switch_to_workspace, "_1", 0, 0,
         _("Switch to workspace 1"),
         NULL)
-item (switch_to_workspace, "_2", 2, 0,
+item (switch_to_workspace, "_2", 1, 0,
         _("Switch to workspace 2"),
         NULL)
-item (switch_to_workspace, "_3", 3, 0,
+item (switch_to_workspace, "_3", 2, 0,
         _("Switch to workspace 3"),
         NULL)
-item (switch_to_workspace, "_4", 4, 0,
+item (switch_to_workspace, "_4", 3, 0,
         _("Switch to workspace 4"),
         NULL)
-item (switch_to_workspace, "_5", 5, 0,
+item (switch_to_workspace, "_5", 4, 0,
         _("Switch to workspace 5"),
         NULL)
-item (switch_to_workspace, "_6", 6, 0,
+item (switch_to_workspace, "_6", 5, 0,
         _("Switch to workspace 6"),
         NULL)
-item (switch_to_workspace, "_7", 7, 0,
+item (switch_to_workspace, "_7", 6, 0,
         _("Switch to workspace 7"),
         NULL)
-item (switch_to_workspace, "_8", 8, 0,
+item (switch_to_workspace, "_8", 7, 0,
         _("Switch to workspace 8"),
         NULL)
-item (switch_to_workspace, "_9", 9, 0,
+item (switch_to_workspace, "_9", 8, 0,
         _("Switch to workspace 9"),
         NULL)
-item (switch_to_workspace, "_10", 10, 0,
+item (switch_to_workspace, "_10", 9, 0,
         _("Switch to workspace 10"),
         NULL)
-item (switch_to_workspace, "_11", 11, 0,
+item (switch_to_workspace, "_11", 10, 0,
         _("Switch to workspace 11"),
         NULL)
-item (switch_to_workspace, "_12", 12, 0,
+item (switch_to_workspace, "_12", 11, 0,
         _("Switch to workspace 12"),
         NULL)
 

Modified: trunk/src/core/window-bindings.h
==============================================================================
--- trunk/src/core/window-bindings.h	(original)
+++ trunk/src/core/window-bindings.h	Tue Oct 21 11:58:04 2008
@@ -127,40 +127,40 @@
         _("Toggle whether window is on all workspaces or just one"),
           NULL)
 
-item (move_to_workspace, "_1", 1, BINDING_PER_WINDOW,
+item (move_to_workspace, "_1", 0, BINDING_PER_WINDOW,
         _("Move window to workspace 1"),
         NULL)
-item (move_to_workspace, "_2", 2, BINDING_PER_WINDOW,
+item (move_to_workspace, "_2", 1, BINDING_PER_WINDOW,
         _("Move window to workspace 2"),
         NULL)
-item (move_to_workspace, "_3", 3, BINDING_PER_WINDOW,
+item (move_to_workspace, "_3", 2, BINDING_PER_WINDOW,
         _("Move window to workspace 3"),
         NULL)
-item (move_to_workspace, "_4", 4, BINDING_PER_WINDOW,
+item (move_to_workspace, "_4", 3, BINDING_PER_WINDOW,
         _("Move window to workspace 4"),
         NULL)
-item (move_to_workspace, "_5", 5, BINDING_PER_WINDOW,
+item (move_to_workspace, "_5", 4, BINDING_PER_WINDOW,
         _("Move window to workspace 5"),
         NULL)
-item (move_to_workspace, "_6", 6, BINDING_PER_WINDOW,
+item (move_to_workspace, "_6", 5, BINDING_PER_WINDOW,
         _("Move window to workspace 6"),
         NULL)
-item (move_to_workspace, "_7", 7, BINDING_PER_WINDOW,
+item (move_to_workspace, "_7", 6, BINDING_PER_WINDOW,
         _("Move window to workspace 7"),
         NULL)
-item (move_to_workspace, "_8", 8, BINDING_PER_WINDOW,
+item (move_to_workspace, "_8", 7, BINDING_PER_WINDOW,
         _("Move window to workspace 8"),
         NULL)
-item (move_to_workspace, "_9", 9, BINDING_PER_WINDOW,
+item (move_to_workspace, "_9", 8, BINDING_PER_WINDOW,
         _("Move window to workspace 9"),
         NULL)
-item (move_to_workspace, "_10", 10, BINDING_PER_WINDOW,
+item (move_to_workspace, "_10", 9, BINDING_PER_WINDOW,
         _("Move window to workspace 10"),
         NULL)
-item (move_to_workspace, "_11", 11, BINDING_PER_WINDOW,
+item (move_to_workspace, "_11", 10, BINDING_PER_WINDOW,
         _("Move window to workspace 11"),
         NULL)
-item (move_to_workspace, "_12", 12, BINDING_PER_WINDOW,
+item (move_to_workspace, "_12", 11, BINDING_PER_WINDOW,
         _("Move window to workspace 12"),
         NULL)
 



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