[empathy: 2/3] Move the 'Find in Contact List' item from the View menu to the Edit menu.



commit b3a5b441b884c25198b77ae014cde3b73d396257
Author: Vitaly Minko <vitaly minko gmail com>
Date:   Mon Oct 18 16:51:03 2010 +0400

    Move the 'Find in Contact List' item from the View menu to the Edit menu.

 src/empathy-main-window.c  |    4 ++--
 src/empathy-main-window.ui |   14 +++++++-------
 2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index a62c9cd..6c9b225 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -954,7 +954,7 @@ main_window_notify_contact_list_size_cb (GSettings         *gsettings,
 }
 
 static void
-main_window_view_search_contacts_cb (GtkCheckMenuItem  *item,
+main_window_edit_search_contacts_cb (GtkCheckMenuItem  *item,
 				     EmpathyMainWindow *window)
 {
 	EmpathyMainWindowPriv *priv = GET_PRIV (window);
@@ -1610,12 +1610,12 @@ empathy_main_window_init (EmpathyMainWindow *window)
 			      "view_show_protocols", "toggled", main_window_view_show_protocols_cb,
 			      "view_sort_by_name", "changed", main_window_view_sort_contacts_cb,
 			      "view_normal_size_with_avatars", "changed", main_window_view_contacts_list_size_cb,
-			      "view_search_contacts", "activate", main_window_view_search_contacts_cb,
 			      "view_show_map", "activate", main_window_view_show_map_cb,
 			      "edit", "activate", main_window_edit_cb,
 			      "edit_accounts", "activate", main_window_edit_accounts_cb,
 			      "edit_personal_information", "activate", main_window_edit_personal_information_cb,
 			      "edit_preferences", "activate", main_window_edit_preferences_cb,
+			      "edit_search_contacts", "activate", main_window_edit_search_contacts_cb,
 			      "help_about", "activate", main_window_help_about_cb,
 			      "help_debug", "activate", main_window_help_debug_cb,
 			      "help_contents", "activate", main_window_help_contents_cb,
diff --git a/src/empathy-main-window.ui b/src/empathy-main-window.ui
index a328eac..6a86da7 100644
--- a/src/empathy-main-window.ui
+++ b/src/empathy-main-window.ui
@@ -107,6 +107,12 @@
           </object>
         </child>
         <child>
+          <object class="GtkAction" id="edit_search_contacts">
+            <property name="name">edit_search_contacts</property>
+            <property name="label" translatable="yes">Find in Contact _List</property>
+          </object>
+        </child>
+        <child>
           <object class="GtkAction" id="view">
             <property name="name">view</property>
             <property name="label" translatable="yes">_View</property>
@@ -166,12 +172,6 @@
           <accelerator key="3" modifiers="GDK_CONTROL_MASK"/>
         </child>
         <child>
-          <object class="GtkAction" id="view_search_contacts">
-            <property name="name">view_search_contacts</property>
-            <property name="label" translatable="yes">Find in Contact _List</property>
-          </object>
-        </child>
-        <child>
           <object class="GtkAction" id="room">
             <property name="name">room</property>
             <property name="label" translatable="yes">_Room</property>
@@ -242,6 +242,7 @@
           <menuitem action="edit_personal_information"/>
           <separator/>
           <menuitem action="edit_preferences"/>
+          <menuitem action="edit_search_contacts"/>
         </menu>
         <menu action="view">
           <menuitem action="view_show_offline"/>
@@ -254,7 +255,6 @@
           <menuitem action="view_normal_size"/>
           <menuitem action="view_compact_size"/>
           <separator/>
-          <menuitem action="view_search_contacts"/>
           <menuitem action="view_history"/>
           <menuitem action="view_show_ft_manager"/>
           <menuitem action="view_show_map"/>



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