From 9ea7ae84fae2684f68c2ada101f1ed2ac654800b Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sat, 17 Sep 2011 19:37:08 +0200 Subject: [PATCH] gtk: never undo, save, commit :( sorry... --- gtk/gtkfilechooserdefault.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c index 1a5ea6c87c..44c2d17bac 100644 --- a/gtk/gtkfilechooserdefault.c +++ b/gtk/gtkfilechooserdefault.c @@ -3712,7 +3712,7 @@ browse_files_key_press_event_cb (GtkWidget *widget, || event->keyval == GDK_KEY_KP_Enter || event->keyval == GDK_KEY_space || event->keyval == GDK_KEY_KP_Space) - && !(event->state & gtk_get_default_accel_mod_mask ()) + && !(event->state & gtk_accelerator_get_default_mod_mask ()) && !(impl->action == GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER || impl->action == GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER)) {