فهرست منبع

wxGUI: more shortcuts

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@40024 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 سال پیش
والد
کامیت
a3a4b5267e
2فایلهای تغییر یافته به همراه14 افزوده شده و 4 حذف شده
  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>
 <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
 If wxGUI is not your default UI, you can define it as default by
 typing at GRASS command line prompt
 typing at GRASS command line prompt
 
 
 <div class="code"><pre>
 <div class="code"><pre>
-   g.gui -u wxpython& 
+   g.gui -u wxpython 
 </pre></div>
 </pre></div>
 
 
 or define in your <tt>.grass7/rc</tt> file 'GRASS_GUI' variable
 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
 can be restarted from the GRASS command line prompt by typing
 
 
 <div class="code"><pre>
 <div class="code"><pre>
-    g.gui wxpython&
+    g.gui wxpython
 </pre></div>
 </pre></div>
 
 
 or  to restart with previously saved workspace type:
 or  to restart with previously saved workspace type:
@@ -262,8 +265,12 @@ d.text text=Population\ density
   <dd>Save workspace</dd>
   <dd>Save workspace</dd>
   <dt>Ctrl+C</dt>
   <dt>Ctrl+C</dt>
   <dd>Close workspace</dd>
   <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>
   <dt>Ctrl+Q</dt>
-  <dd>Quit GUI</dd>
+  <dd>Quit GRASS</dd>
 </dl>
 </dl>
 
 
 <b>Global</b>
 <b>Global</b>

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

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