Fix bug in CLABELS when a missing category was moved, and add test.
[pspp] / src / ui / gui / syntax-editor.ui
index 16b2cf4bb5517cb1cc77c3bc46e03bb0fdce329f..49780048d1690f45cb438f709ca7763b93ee5901 100644 (file)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <!-- PSPP - a program for statistical analysis. -->
 <!-- Copyright (C) 2017 Free Software Foundation, Inc. -->
 
@@ -14,7 +15,6 @@
 <!-- You should have received a copy of the GNU General Public License -->
 <!-- along with this program.  If not, see <http://www.gnu.org/licenses/>. -->
 
-<?xml version="1.0"?>
 <!--*- mode: xml -*-->
 <interface>
   <menu id="syntax-window-menu">
        <attribute name="action">win.redo</attribute>
       </item>
     </section>
+    <section>
+      <item>
+       <attribute name="label" translatable="yes">_Find</attribute>
+       <attribute name="action">win.find</attribute>
+      </item>
+    </section>
   </submenu>
   <submenu>
     <attribute name="label" translatable="yes">_Run</attribute>
        <attribute name="action">win.run-to-end</attribute>
       </item>
     </section>
+    <section>
+      <item>
+       <attribute name="label" translatable="yes">A_uto Syntax</attribute>
+        <attribute name="target">auto</attribute>
+       <attribute name="action">win.syntax</attribute>
+      </item>
+      <item>
+       <attribute name="label" translatable="yes">_Interactive Syntax</attribute>
+        <attribute name="target">interactive</attribute>
+       <attribute name="action">win.syntax</attribute>
+      </item>
+      <item>
+       <attribute name="label" translatable="yes">_Batch Syntax</attribute>
+        <attribute name="target">batch</attribute>
+       <attribute name="action">win.syntax</attribute>
+      </item>
+    </section>
   </submenu>
 </menu>
 <object class="GtkScrolledWindow" id="scrolledwindow8">