Bladeren bron

wxGUI: more shortcuts

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@40024 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 jaren geleden
bovenliggende
commit
a3a4b5267e
2 gewijzigde bestanden met toevoegingen van 14 en 4 verwijderingen
  1. 10 3
      gui/wxpython/docs/wxGUI.html
  2. 4 1
      gui/wxpython/xml/menudata.xml

+ 10 - 3
gui/wxpython/docs/wxGUI.html

@@ -1,10 +1,13 @@
 <h2>DESCRIPTION</h2>
 
+wxGUI is native <em>Graphical User Interface</em> (GUI) from GRASS GIS.
+
+<p>
 If wxGUI is not your default UI, you can define it as default by
 typing at GRASS command line prompt
 
 <div class="code"><pre>
-   g.gui -u wxpython& 
+   g.gui -u wxpython 
 </pre></div>
 
 or define in your <tt>.grass7/rc</tt> file 'GRASS_GUI' variable
@@ -17,7 +20,7 @@ The GUI can be quit by selecting the 'File->Exit' menu item. The GUI
 can be restarted from the GRASS command line prompt by typing
 
 <div class="code"><pre>
-    g.gui wxpython&
+    g.gui wxpython
 </pre></div>
 
 or  to restart with previously saved workspace type:
@@ -262,8 +265,12 @@ d.text text=Population\ density
   <dd>Save workspace</dd>
   <dt>Ctrl+C</dt>
   <dd>Close workspace</dd>
+  <dt>Ctrl+L</dt>
+  <dd>Load map layers</dd>
+  <dt>Ctrl+E</dt>
+  <dd>Exit GUI</dd>
   <dt>Ctrl+Q</dt>
-  <dd>Quit GUI</dd>
+  <dd>Quit GRASS</dd>
 </dl>
 
 <b>Global</b>

+ 4 - 1
gui/wxpython/xml/menudata.xml

@@ -33,12 +33,14 @@
 	      <label>Close</label>
 	      <help>Close workspace file</help>
 	      <handler>self.OnWorkspaceClose</handler>
+	      <shortcut>Ctrl+C</shortcut>
 	    </menuitem>
 	    <separator />
 	    <menuitem>
 	      <label>Load map layers</label>
 	      <help>Load map layers into layer tree</help>
 	      <handler>self.OnWorkspaceLoad</handler>
+	      <shortcut>Ctrl+L</shortcut>
 	    </menuitem>
 	    <separator />
 	    <menuitem>
@@ -649,9 +651,10 @@
 	</menuitem>
 	<separator />
 	<menuitem>
-	  <label>Quit GUI</label>
+	  <label>Exit GUI</label>
 	  <help>Quit wxGUI session</help>
 	  <handler>self.OnCloseWindow</handler>
+	  <shortcut>Ctrl+E</shortcut>
 	</menuitem>
 	<menuitem>
 	  <label>Quit GRASS GIS</label>