There is no real reason to not allow this. The transition is
not quite as smooth as it should be, currently, but at least
it works.
{
GtkFileChooserWidgetPrivate *priv = impl->priv;
- if (priv->operation_mode == OPERATION_MODE_SEARCH)
- return;
-
- if (priv->operation_mode == OPERATION_MODE_RECENT &&
+ if ((priv->operation_mode == OPERATION_MODE_RECENT ||
+ priv->operation_mode == OPERATION_MODE_SEARCH) &&
(priv->action == GTK_FILE_CHOOSER_ACTION_OPEN ||
priv->action == GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER))
operation_mode_set (impl, OPERATION_MODE_BROWSE);