When a list item is activated, we activate the default widget.
Unfortunately, due to some other bug, sometimes the open button
is not made sensitive, and then default.activate falls back
to activating the focus widget (which is the item we are just
coming from). Boom
else if (self->action == GTK_FILE_CHOOSER_ACTION_OPEN ||
self->action == GTK_FILE_CHOOSER_ACTION_SAVE)
{
+ /* prevent recursion */
+ g_signal_handlers_block_by_func (column_view, column_view_row_activated_cb, self);
gtk_widget_activate_default (GTK_WIDGET (self));
+ g_signal_handlers_unblock_by_func (column_view, column_view_row_activated_cb, self);
}
g_clear_object (&info);