aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-main-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 3a6bf0ae4..d57a7b240 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -1536,6 +1536,8 @@ empathy_main_window_show (void)
EMPATHY_LIVE_SEARCH (window->search_bar));
gtk_box_pack_start (GTK_BOX (window->main_vbox), window->search_bar,
FALSE, TRUE, 0);
+ g_signal_connect_swapped (window->window, "map",
+ G_CALLBACK (gtk_widget_grab_focus), window->list_view);
/* Load user-defined accelerators. */
main_window_accels_load ();