mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
"event->state & modifiers", not "event->state && modifiers". Patch by
2005-12-05 Federico Mena Quintero <federico@ximian.com> * gtk/gtkfilechooserdefault.c (trap_activate_cb): "event->state & modifiers", not "event->state && modifiers". Patch by Sadrul Habib Chowdhury <imadil@gmail.com>. Fixes bug #323073.
This commit is contained in:
parent
051231fab2
commit
446d1edbdb
@ -1,3 +1,9 @@
|
||||
2005-12-05 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (trap_activate_cb): "event->state &
|
||||
modifiers", not "event->state && modifiers". Patch by Sadrul
|
||||
Habib Chowdhury <imadil@gmail.com>. Fixes bug #323073.
|
||||
|
||||
2005-12-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c:
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-12-05 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (trap_activate_cb): "event->state &
|
||||
modifiers", not "event->state && modifiers". Patch by Sadrul
|
||||
Habib Chowdhury <imadil@gmail.com>. Fixes bug #323073.
|
||||
|
||||
2005-12-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c:
|
||||
|
@ -3303,7 +3303,7 @@ trap_activate_cb (GtkWidget *widget,
|
||||
|| event->keyval == GDK_ISO_Enter
|
||||
|| event->keyval == GDK_KP_Enter
|
||||
|| event->keyval == GDK_space)
|
||||
&& ((event->state && modifiers) == 0)
|
||||
&& ((event->state & modifiers) == 0)
|
||||
&& !(impl->action == GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER ||
|
||||
impl->action == GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user