aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/empathy-main-window.c10
-rw-r--r--src/empathy-main-window.ui7
2 files changed, 17 insertions, 0 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index a89ba1cf1..cc49db934 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -956,6 +956,15 @@ main_window_notify_contact_list_size_cb (GSettings *gsettings,
}
static void
+main_window_edit_search_contacts_cb (GtkCheckMenuItem *item,
+ EmpathyMainWindow *window)
+{
+ EmpathyMainWindowPriv *priv = GET_PRIV (window);
+
+ empathy_individual_view_start_search (priv->individual_view);
+}
+
+static void
main_window_view_show_map_cb (GtkCheckMenuItem *item,
EmpathyMainWindow *window)
{
@@ -1607,6 +1616,7 @@ empathy_main_window_init (EmpathyMainWindow *window)
"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 1d06b3edd..6a86da721 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>
@@ -236,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"/>