[gnome-commander/gcmd-1-4] Moved Search, Quick Search and Enable Filter from Edit to File menu



commit c16992bc39535741bb610f5108cc443dda73cf05
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Wed Mar 19 11:20:02 2014 +0100

    Moved Search, Quick Search and Enable Filter from Edit to File menu

 NEWS                       |    1 +
 doc/C/gnome-commander.xml  |    2 +-
 doc/C/releases.xml         |    3 +++
 src/gnome-cmd-main-menu.cc |   38 +++++++++++++++++++-------------------
 4 files changed, 24 insertions(+), 20 deletions(-)
---
diff --git a/NEWS b/NEWS
index 65801b1..b6a0d23 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ gnome-commander 1.4.1
 Bug fixes:
  * Fixed problem bgo#641842 (use poppler-glib instead of poppler internal API)
  * Support for utf8 encoded creation and modification dates in document metadata
+ * Moved Search, Quick Search and Enable Filter from Edit to File menu
 New features:
 * New or updated translations: 
      ...
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index 11b26db..a31bc89 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -1035,7 +1035,7 @@
                        <itemizedlist>
                                <listitem><para>Press the <keycap>F9</keycap> key or click on the 
<guibutton>F9 Search</guibutton>.</para></listitem>
                                <listitem><para>Use the 
<keycombo><keycap>ALT</keycap><keycap>F7</keycap></keycombo>.</para></listitem>
-                               <listitem><para>In the menubar select 
<menuchoice><guimenuitem>Edit</guimenuitem><guimenuitem>Search</guimenuitem></menuchoice>.</para></listitem></itemizedlist></para>
+                               <listitem><para>In the menubar select 
<menuchoice><guimenuitem>File</guimenuitem><guimenuitem>Search</guimenuitem></menuchoice>.</para></listitem></itemizedlist></para>
       <para>When started, the following window is displayed:</para>
       <!-- ==== Figure ==== -->
       <figure id="search-dlg-fig">
diff --git a/doc/C/releases.xml b/doc/C/releases.xml
index e4f7a09..ae0b104 100644
--- a/doc/C/releases.xml
+++ b/doc/C/releases.xml
@@ -35,6 +35,9 @@
                         <listitem>
                            <para>Support for utf8 encoded creation and modification dates in document 
metadata</para>
                        </listitem>
+                        <listitem>
+                           <para>Moved Search, Quick Search and Enable Filter from Edit to File menu</para>
+                       </listitem>
                     </itemizedlist>
                 </para>
                 <para>New features:</para>
diff --git a/src/gnome-cmd-main-menu.cc b/src/gnome-cmd-main-menu.cc
index 57cd079..61f9861 100644
--- a/src/gnome-cmd-main-menu.cc
+++ b/src/gnome-cmd-main-menu.cc
@@ -470,6 +470,25 @@ static void init (GnomeCmdMainMenu *main_menu)
         },
         MENUTYPE_SEPARATOR,
         {
+            MENU_TYPE_ITEM, _("_Search..."), "Alt+F7", NULL,
+            (gpointer) edit_search, NULL,
+            GNOME_APP_PIXMAP_STOCK, GTK_STOCK_FIND,
+            NULL
+        },
+        {
+            MENU_TYPE_ITEM, _("_Quick Search..."), "", NULL,
+            (gpointer) edit_quick_search, NULL,
+            GNOME_APP_PIXMAP_NONE, 0,
+            NULL
+        },
+        {
+            MENU_TYPE_ITEM, _("_Enable Filter..."), "", NULL,
+            (gpointer) edit_filter, NULL,
+            GNOME_APP_PIXMAP_NONE, 0,
+            NULL
+        },
+        MENUTYPE_SEPARATOR,
+        {
             MENU_TYPE_ITEM, _("_Diff"), "", NULL,
             (gpointer) file_diff, NULL,
             GNOME_APP_PIXMAP_NONE, NULL,
@@ -579,25 +598,6 @@ static void init (GnomeCmdMainMenu *main_menu)
             GNOME_APP_PIXMAP_NONE, 0,
             NULL
         },
-        MENUTYPE_SEPARATOR,
-        {
-            MENU_TYPE_ITEM, _("_Search..."), "Alt+F7", NULL,
-            (gpointer) edit_search, NULL,
-            GNOME_APP_PIXMAP_STOCK, GTK_STOCK_FIND,
-            NULL
-        },
-        {
-            MENU_TYPE_ITEM, _("_Quick Search..."), "", NULL,
-            (gpointer) edit_quick_search, NULL,
-            GNOME_APP_PIXMAP_NONE, 0,
-            NULL
-        },
-        {
-            MENU_TYPE_ITEM, _("_Enable Filter..."), "", NULL,
-            (gpointer) edit_filter, NULL,
-            GNOME_APP_PIXMAP_NONE, 0,
-            NULL
-        },
         MENUTYPE_END
     };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]