[gtk+] file chooser: Fix key bindings



commit a385ca1bb75a5fad0937146b1f59386a0d0fb4c4
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jan 28 18:17:51 2015 -0500

    file chooser: Fix key bindings
    
    Key press handlers must chain up for key bindings to work.

 gtk/gtkfilechooserwidget.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index b39b7ca..70aaf69 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -1253,6 +1253,9 @@ gtk_file_chooser_widget_key_press_event (GtkWidget   *widget,
       return TRUE;
     }
 
+  if (GTK_WIDGET_CLASS (gtk_file_chooser_widget_parent_class)->key_press_event (widget, event))
+    return TRUE;
+
   return FALSE;
 }
 


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