aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-presence-chooser.c
diff options
context:
space:
mode:
authorDavyd Madeley <davyd@madeley.id.au>2009-04-11 00:54:35 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-04-11 00:54:35 +0800
commit3a2334b5c7fb19571840dd2d9c0f93f0f0749567 (patch)
tree5ebc9e221cc59102a1e060326cab3b5052f93f6b /libempathy-gtk/empathy-presence-chooser.c
parent9be19b4a971ad556bed8615456bd81b596516dde (diff)
downloadgsoc2013-empathy-3a2334b5c7fb19571840dd2d9c0f93f0f0749567.tar
gsoc2013-empathy-3a2334b5c7fb19571840dd2d9c0f93f0f0749567.tar.gz
gsoc2013-empathy-3a2334b5c7fb19571840dd2d9c0f93f0f0749567.tar.bz2
gsoc2013-empathy-3a2334b5c7fb19571840dd2d9c0f93f0f0749567.tar.lz
gsoc2013-empathy-3a2334b5c7fb19571840dd2d9c0f93f0f0749567.tar.xz
gsoc2013-empathy-3a2334b5c7fb19571840dd2d9c0f93f0f0749567.tar.zst
gsoc2013-empathy-3a2334b5c7fb19571840dd2d9c0f93f0f0749567.zip
Ignore up/down arrow keypresses
From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2792
Diffstat (limited to 'libempathy-gtk/empathy-presence-chooser.c')
-rw-r--r--libempathy-gtk/empathy-presence-chooser.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-presence-chooser.c b/libempathy-gtk/empathy-presence-chooser.c
index 74eefee2a..08735f6c4 100644
--- a/libempathy-gtk/empathy-presence-chooser.c
+++ b/libempathy-gtk/empathy-presence-chooser.c
@@ -358,6 +358,11 @@ entry_key_press_event_cb (EmpathyPresenceChooser *self,
return TRUE;
}
+ else if (event->keyval == GDK_Up || event->keyval == GDK_Down)
+ {
+ /* ignore */
+ return TRUE;
+ }
return FALSE; /* send this event elsewhere */
}