aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-live-search.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-live-search.c b/libempathy-gtk/empathy-live-search.c
index b1ed17fad..9de2e199a 100644
--- a/libempathy-gtk/empathy-live-search.c
+++ b/libempathy-gtk/empathy-live-search.c
@@ -197,6 +197,11 @@ live_search_key_press_event_cb (GtkWidget *widget,
event->keyval == GDK_Control_R)
return FALSE;
+ /* dont forward the arrow up/down key to the entry, it is needed for
+ * navigation in the treeview */
+ if (event->keyval == GDK_Up || event->keyval == GDK_Down)
+ return FALSE;
+
/* realize the widget if it is not realized yet */
gtk_widget_realize (priv->search_entry);
if (!gtk_widget_has_focus (priv->search_entry))