[Mercurial] Menu: put all mercurial actions in a single group, commented out "MQ...
authorKirill Likhodedov <kirill.likhodedov@jetbrains.com>
Wed, 30 Jun 2010 14:31:40 +0000 (18:31 +0400)
committerKirill Likhodedov <kirill.likhodedov@jetbrains.com>
Wed, 30 Jun 2010 14:31:40 +0000 (18:31 +0400)
plugins/hg4idea/resources/org/zmlx/hg4idea/HgVcsMessages.properties
plugins/hg4idea/src/META-INF/plugin.xml

index 79a20656d098f9e542f298e425bc06eda40d89ac..6b893c39e4f5ae656eeb1c2289bc9cdba074416f 100644 (file)
@@ -1,5 +1,4 @@
 group.hg4idea.global.menu.text=Mercurial
-group.hg4idea.global.submenu.text=Mercurial Actions
 group.hg4idea.file.menu.text=Mercurial
 action.hg4idea.tag.text=Tag Repository
 action.hg4idea.tag.description=Create a tag for current revision
index 22def9baecd4eae248a3f270a54891b275a0a6f0..6fd8e7d4339222781d3df39ca9e5771ac906e5d5 100644 (file)
     </group>
     
     <group id="hg4idea.file.menu" popup="true" icon="/images/mercurial.png" class="org.zmlx.hg4idea.action.HgMercurialMenu">
-      <action id="hg4idea.resolve.mark" class="org.zmlx.hg4idea.action.HgMarkResolved"/>
-      <separator/>
       <reference ref="CheckinFiles"/>
-      <reference ref="ChangesView.Rollback"/>
       <reference ref="ChangesView.AddUnversioned"/>
+      <reference ref="ChangesView.Rollback"/>
       <separator/>
+
       <reference ref="Compare.SameVersion"/>
       <reference ref="Compare.Selected"/>
       <reference ref="Vcs.ShowTabbedFileHistory"/>
       <reference ref="Vcs.ShowHistoryForBlock"/>
       <reference ref="Annotate"/>
-      <add-to-group group-id="VcsGroup" anchor="last"/>
-    </group>
+      <separator/>
 
-    <group id="hg4idea.global.submenu" popup="true" icon="/images/mercurial.png" class="org.zmlx.hg4idea.action.HgMercurialMenu">
       <action id="hg4idea.pull" class="org.zmlx.hg4idea.action.HgPullAction" icon="/actions/checkOut.png"/>
       <action id="hg4idea.push" class="org.zmlx.hg4idea.action.HgPushAction" icon="/actions/commit.png"/>
       <separator/>
       <action id="hg4idea.run.conflict.resolver" class="org.zmlx.hg4idea.action.HgRunConflictResolverAction"/>
-      <action id="hg4idea.mq.rebase" class="org.zmlx.hg4idea.action.HgMqRebaseAction"/>
+      <!--<action id="hg4idea.mq.rebase" class="org.zmlx.hg4idea.action.HgMqRebaseAction"/>-->
       <separator/>
+
       <action id="hg4idea.tag" class="org.zmlx.hg4idea.action.HgCreateTagAction"/>
       <action id="hg4idea.switch" class="org.zmlx.hg4idea.action.HgSwitchWorkingDirectoryAction"/>
-      <add-to-group group-id="VcsGlobalGroup" anchor="last"/>
+      <action id="hg4idea.resolve.mark" class="org.zmlx.hg4idea.action.HgMarkResolved"/>
+
+      <add-to-group group-id="VcsGroup" anchor="last"/>
+      <add-to-group group-id="VcsGroups" anchor="last"/>
     </group>
+
   </actions>
 
   <resource-bundle>org.zmlx.hg4idea.HgVcsMessages</resource-bundle>