nemiver r964 - in trunk: . src/persp/dbgperspective src/persp/dbgperspective/menus



Author: jjongsma
Date: Wed Dec 24 19:43:12 2008
New Revision: 964
URL: http://svn.gnome.org/viewvc/nemiver?rev=964&view=rev

Log:
Bug 553213 â tabs are in different order to Alt-1,2,3,4,5

	* src/persp/dbgperspective/nmv-dbg-perspective.cc: fix the order of the
	<alt>-N keyboard shortcuts to match the order of the tabs (Bug #553213)
	* src/persp/dbgperspective/menus/menus.xml: re-order the UI menu as well

Modified:
   trunk/ChangeLog
   trunk/src/persp/dbgperspective/menus/menus.xml
   trunk/src/persp/dbgperspective/nmv-dbg-perspective.cc

Modified: trunk/src/persp/dbgperspective/menus/menus.xml
==============================================================================
--- trunk/src/persp/dbgperspective/menus/menus.xml	(original)
+++ trunk/src/persp/dbgperspective/menus/menus.xml	Wed Dec 24 19:43:12 2008
@@ -34,12 +34,12 @@
                 name="CurrentSessionPropertiesMenuItem"/>
         </menu>
         <menu action="ViewMenuAction" name="ViewMenu">
+            <menuitem action="ActivateTargetTerminalViewMenuAction"
+                name="ActivateTargetTerminalViewMenuItem"/>
             <menuitem action="ActivateCallStackViewMenuAction"
                 name="ActivateCallStackViewMenuItem"/>
             <menuitem action="ActivateVariablesViewMenuAction"
                 name="ActivateVariablesViewMenuItem"/>
-            <menuitem action="ActivateTargetTerminalViewMenuAction"
-                name="ActivateTargetTerminalViewMenuItem"/>
             <menuitem action="ActivateBreakpointsViewMenuAction"
                 name="ActivateBreakpointsViewMenuItem"/>
             <menuitem action="ActivateRegistersViewMenuAction"

Modified: trunk/src/persp/dbgperspective/nmv-dbg-perspective.cc
==============================================================================
--- trunk/src/persp/dbgperspective/nmv-dbg-perspective.cc	(original)
+++ trunk/src/persp/dbgperspective/nmv-dbg-perspective.cc	Wed Dec 24 19:43:12 2008
@@ -2877,6 +2877,16 @@
             ""
         },
         {
+            "ActivateTargetTerminalViewMenuAction",
+            nil_stock_id,
+            TARGET_TERMINAL_TITLE,
+            _("Switch to Target Terminal View"),
+            sigc::mem_fun (*this,
+                           &DBGPerspective::on_activate_target_terminal_view),
+            ActionEntry::DEFAULT,
+            "<alt>1"
+        },
+        {
             "ActivateCallStackViewMenuAction",
             nil_stock_id,
             CALL_STACK_TITLE,
@@ -2884,7 +2894,7 @@
             sigc::mem_fun (*this,
                            &DBGPerspective::on_activate_call_stack_view),
             ActionEntry::DEFAULT,
-            "<alt>1"
+            "<alt>2"
         },
         {
             "ActivateVariablesViewMenuAction",
@@ -2894,16 +2904,6 @@
             sigc::mem_fun (*this,
                            &DBGPerspective::on_activate_variables_view),
             ActionEntry::DEFAULT,
-            "<alt>2"
-        },
-        {
-            "ActivateTargetTerminalViewMenuAction",
-            nil_stock_id,
-            TARGET_TERMINAL_TITLE,
-            _("Switch to Target Terminal View"),
-            sigc::mem_fun (*this,
-                           &DBGPerspective::on_activate_target_terminal_view),
-            ActionEntry::DEFAULT,
             "<alt>3"
         },
         {



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