summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2004-03-13 20:33:45 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-03-13 20:33:45 +0000
commit74fd8a025d3171b786e8e3366a63e26879aec8c0 (patch)
tree9f7ac5856c827db309ce154dc910d4dcc9648c51 /gtk
parent72804ba43e096eca889295adeb88819dcd69a24a (diff)
downloadgdk-pixbuf-74fd8a025d3171b786e8e3366a63e26879aec8c0.tar.gz
Pop down the list when an item is selected via the keyboard.
Sat Mar 13 21:37:44 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkcombobox.c (gtk_combo_box_list_key_press): Pop down the list when an item is selected via the keyboard.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkcombobox.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index 8126dd87f..8932d9f6a 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -2458,6 +2458,10 @@ gtk_combo_box_list_key_press (GtkWidget *widget,
gtk_tree_path_free (path);
}
}
+
+ gtk_combo_box_popdown (combo_box);
+
+ return TRUE;
}
return FALSE;