[empathy] LiveSearch: we don't want to emit keynav signal on left/right since those are useful to the entry



commit ee227ec984e99ab5f1046c68b891413ba1b89507
Author: Xavier Claessens <xclaesse gmail com>
Date:   Fri May 20 15:17:33 2011 +0200

    LiveSearch: we don't want to emit keynav signal on left/right since those are useful to the entry

 libempathy-gtk/empathy-live-search.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-live-search.c b/libempathy-gtk/empathy-live-search.c
index a607939..3cb25a0 100644
--- a/libempathy-gtk/empathy-live-search.c
+++ b/libempathy-gtk/empathy-live-search.c
@@ -262,8 +262,7 @@ live_search_entry_key_pressed_cb (GtkEntry *entry,
     }
 
   /* emit key navigation signal, so other widgets can respond to it properly */
-  if (event->keyval == GDK_KEY_Up || event->keyval == GDK_KEY_Down
-      || event->keyval == GDK_KEY_Left || event->keyval == GDK_KEY_Right)
+  if (event->keyval == GDK_KEY_Up || event->keyval == GDK_KEY_Down)
      {
        g_signal_emit (self, signals[KEYNAV], 0, event, &ret);
        return ret;



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