Rearrange menus to be more like later version of other software.
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 2 Sep 2007 02:10:28 +0000 (02:10 +0000)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 2 Sep 2007 02:10:28 +0000 (02:10 +0000)
Delete some unimplemented menuitems.

src/ui/gui/data-editor.c
src/ui/gui/data-editor.glade

index 7cba02f2829f09413f6116fe46a9083082a4d29f..722ac2e851a9772a528408d8f5db230f6bec6828 100644 (file)
@@ -456,7 +456,7 @@ new_data_editor (void)
                            );
 
   gtk_action_connect_proxy (de->insert_variable,
-                           get_widget_assert (de->xml, "data_insert-variable")
+                           get_widget_assert (de->xml, "edit_insert-variable")
                            );
 
 
@@ -476,7 +476,7 @@ new_data_editor (void)
 
 
   gtk_action_connect_proxy (de->insert_case,
-                           get_widget_assert (de->xml, "data_insert-case")
+                           get_widget_assert (de->xml, "edit_insert-case")
                            );
 
 
@@ -493,7 +493,7 @@ new_data_editor (void)
                            );
 
   gtk_action_connect_proxy (de->invoke_goto_dialog,
-                           get_widget_assert (de->xml, "data_goto-case")
+                           get_widget_assert (de->xml, "edit_goto-case")
                            );
 
 
index 025828bfab4fd668b760c7602604f220d8b51fbe..26167ab59aec170ed67e15595da3b383412d1a23 100644 (file)
                 <property name="use_underline">True</property>
                 <child>
                   <widget class="GtkMenu" id="edit_menu">
+                    <child>
+                      <widget class="GtkMenuItem" id="edit_insert-variable">
+                        <property name="visible">True</property>
+                        <property name="sensitive">False</property>
+                        <property name="label" translatable="yes">Insert Variable</property>
+                        <property name="use_underline">True</property>
+                      </widget>
+                    </child>
+                    <child>
+                      <widget class="GtkMenuItem" id="edit_insert-case">
+                        <property name="visible">True</property>
+                        <property name="sensitive">False</property>
+                        <property name="label" translatable="yes">Insert Cases</property>
+                        <property name="use_underline">True</property>
+                      </widget>
+                    </child>
+                    <child>
+                      <widget class="GtkImageMenuItem" id="edit_goto-case">
+                        <property name="visible">True</property>
+                        <property name="sensitive">False</property>
+                        <property name="label" translatable="yes">Go To Case</property>
+                        <property name="use_underline">True</property>
+                      </widget>
+                    </child>
+                    <child>
+                      <widget class="GtkSeparatorMenuItem" id="separator4">
+                        <property name="visible">True</property>
+                        <property name="sensitive">False</property>
+                      </widget>
+                    </child>
                     <child>
                       <widget class="GtkImageMenuItem" id="edit_cut">
                         <property name="visible">True</property>
                         <property name="use_stock">True</property>
                       </widget>
                     </child>
-                    <child>
-                      <widget class="GtkMenuItem" id="edit_paste-variables">
-                        <property name="visible">True</property>
-                        <property name="sensitive">False</property>
-                        <property name="label" translatable="yes">Paste _Variables</property>
-                        <property name="use_underline">True</property>
-                      </widget>
-                    </child>
                     <child>
                       <widget class="GtkMenuItem" id="edit_clear-variables">
                         <property name="visible">True</property>
                 <property name="use_underline">True</property>
                 <child>
                   <widget class="GtkMenu" id="data_menu">
-                    <child>
-                      <widget class="GtkMenuItem" id="data_insert-variable">
-                        <property name="visible">True</property>
-                        <property name="sensitive">False</property>
-                        <property name="label" translatable="yes">Insert Variable</property>
-                        <property name="use_underline">True</property>
-                      </widget>
-                    </child>
-                    <child>
-                      <widget class="GtkMenuItem" id="data_insert-case">
-                        <property name="visible">True</property>
-                        <property name="sensitive">False</property>
-                        <property name="label" translatable="yes">Insert Cases</property>
-                        <property name="use_underline">True</property>
-                      </widget>
-                    </child>
-                    <child>
-                      <widget class="GtkImageMenuItem" id="data_goto-case">
-                        <property name="visible">True</property>
-                        <property name="sensitive">False</property>
-                        <property name="label" translatable="yes">Go To Case</property>
-                        <property name="use_underline">True</property>
-                      </widget>
-                    </child>
-                    <child>
-                      <widget class="GtkSeparatorMenuItem" id="separator4">
-                        <property name="visible">True</property>
-                        <property name="sensitive">False</property>
-                      </widget>
-                    </child>
                     <child>
                       <widget class="GtkMenuItem" id="data_sort-cases">
                         <property name="visible">True</property>
                       </widget>
                     </child>
                     <child>
-                      <widget class="GtkMenuItem" id="merge_files1">
-                        <property name="visible">True</property>
+                      <widget class="GtkMenuItem" id="data_merge-files">
+                        <property name="visible">False</property>
                         <property name="sensitive">False</property>
                         <property name="label" translatable="yes">Merge Files</property>
                         <property name="use_underline">True</property>
                       </widget>
                     </child>
                     <child>
-                      <widget class="GtkMenuItem" id="aggregate1">
-                        <property name="visible">True</property>
+                      <widget class="GtkMenuItem" id="data_aggregate">
+                        <property name="visible">False</property>
                         <property name="sensitive">False</property>
                         <property name="label" translatable="yes">Aggregate</property>
                         <property name="use_underline">True</property>
                     </child>
                     <child>
                       <widget class="GtkMenuItem" id="transform_rank">
-                        <property name="visible">True</property>
+                        <property name="visible">False</property>
                         <property name="sensitive">False</property>
                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                         <property name="label" translatable="yes">Ran_k Cases</property>