forked from AuroraMiddleware/gtk
Merge branch 'file-chooser-search' into 'master'
file chooser: Fix Ctrl-L Closes #1829 See merge request GNOME/gtk!781
This commit is contained in:
commit
936aba884a
@ -1411,12 +1411,13 @@ widget_key_press_cb (GtkEventControllerKey *controller,
|
||||
}
|
||||
else
|
||||
{
|
||||
gtk_event_controller_key_forward (controller, priv->search_entry);
|
||||
if (gtk_event_controller_key_forward (controller, priv->search_entry))
|
||||
{
|
||||
if (priv->operation_mode != OPERATION_MODE_SEARCH)
|
||||
operation_mode_set (impl, OPERATION_MODE_SEARCH);
|
||||
|
||||
if (priv->operation_mode != OPERATION_MODE_SEARCH)
|
||||
operation_mode_set (impl, OPERATION_MODE_SEARCH);
|
||||
|
||||
handled = TRUE;
|
||||
handled = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
g_object_unref (event);
|
||||
|
Loading…
Reference in New Issue
Block a user