summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserdefault.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-05-23 16:45:57 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-05-23 16:45:57 +0000
commit39d710eabed5253d41df85efd04a799fe34e5fb9 (patch)
treeb384d7126e1adc3b69020b82f9a8b694e45ab4b3 /gtk/gtkfilechooserdefault.c
parent7f2ad4a885677a70ff72f0533508a9053705d76e (diff)
downloadgdk-pixbuf-39d710eabed5253d41df85efd04a799fe34e5fb9.tar.gz
Don't grab the focus away from the file list when operating the filter
2005-05-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserdefault.c (filter_create): Don't grab the focus away from the file list when operating the filter combo with the pointer. (#304844, Sven Neumann)
Diffstat (limited to 'gtk/gtkfilechooserdefault.c')
-rw-r--r--gtk/gtkfilechooserdefault.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index 41c61aa8b..25571eec2 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -1842,6 +1842,8 @@ static GtkWidget *
filter_create (GtkFileChooserDefault *impl)
{
impl->filter_combo = gtk_combo_box_new_text ();
+ gtk_combo_box_set_focus_on_click (GTK_COMBO_BOX (impl->filter_combo), FALSE);
+
g_signal_connect (impl->filter_combo, "changed",
G_CALLBACK (filter_combo_changed), impl);