[Telepathy] [PATCH 5/9] Chooser: map Up and Down to show the menu in the combobox

Niv Sardi xaiki at debian.org
Mon Jun 8 13:31:40 PDT 2009


Signed-off-by: Niv Sardi <xaiki at debian.org>
---
 libempathy-gtk/empathy-presence-chooser.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/libempathy-gtk/empathy-presence-chooser.c b/libempathy-gtk/empathy-presence-chooser.c
index 360cd2a..8534d91 100644
--- a/libempathy-gtk/empathy-presence-chooser.c
+++ b/libempathy-gtk/empathy-presence-chooser.c
@@ -568,6 +568,10 @@ presence_chooser_entry_key_press_event_cb (EmpathyPresenceChooser *self,
 		return TRUE;
 	}
 
+	if (event->keyval == GDK_Up || event->keyval == GDK_Down) {
+		gtk_combo_box_popup (GTK_COMBO_BOX (self));
+	}
+
 	return FALSE; /* send this event elsewhere */
 }
 
-- 
1.6.3.1



More information about the telepathy mailing list