Fix possible crash if no buttons are active (should never be the case)
[pspp] / src / ui / gui / syntax-editor.ui
index d4f348f3abe42ea2dfd1729ce0532ff98e7675d1..797a7f04e0309483e357ab671800f17b9868ea5b 100644 (file)
@@ -66,8 +66,8 @@
           </object>
         </child>
         <child>
-          <object class="GtkAction" id="menuitem7">
-            <property name="name">menuitem7</property>
+          <object class="GtkAction" id="edit-menu">
+            <property name="name">edit-menu</property>
             <property name="label" translatable="yes">_Edit</property>
           </object>
         </child>
             <property name="label" translatable="yes">To End</property>
           </object>
         </child>
-        <child>
-          <object class="GtkAction" id="windows">
-            <property name="name">windows</property>
-            <property name="label" translatable="yes">_Windows</property>
-          </object>
-        </child>
-        <child>
-          <object class="GtkAction" id="windows_minimise_all">
-            <property name="stock-id">windows-minimize-all</property>
-            <property name="name">windows_minimise_all</property>
-            <property name="label" translatable="yes">_Minimize All Windows</property>
-          </object>
-        </child>
       </object>
     </child>
     <ui>
           <separator/>
           <menuitem action="file_quit"/>
         </menu>
-        <menu action="menuitem7">
+        <menu action="edit-menu">
           <menuitem action="edit_cut"/>
           <menuitem action="edit_copy"/>
           <menuitem action="edit_paste"/>
           <menuitem action="run_current_line"/>
           <menuitem action="run_to_end"/>
         </menu>
-        <menu action="windows">
-          <menuitem action="windows_minimise_all"/>
-        </menu>
       </menubar>
     </ui>
   </object>