mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
Merge branch 'wip/otte/for-main' into 'main'
listview: Activatable means activate See merge request GNOME/gtk!5709
This commit is contained in:
commit
a8b211ff15
@ -254,7 +254,7 @@ gtk_column_view_row_widget_grab_focus (GtkWidget *widget)
|
||||
|
||||
for (child = focus_child ? gtk_widget_get_next_sibling (focus_child) : gtk_widget_get_first_child (widget);
|
||||
child != focus_child;
|
||||
child = gtk_widget_get_next_sibling (child))
|
||||
child = child ? gtk_widget_get_next_sibling (child) : gtk_widget_get_first_child (widget))
|
||||
{
|
||||
/* When we started iterating at focus_child, we want to iterate over the rest
|
||||
* of the children, too */
|
||||
|
@ -65,7 +65,7 @@ gtk_list_factory_widget_activate_signal (GtkListFactoryWidget *self)
|
||||
{
|
||||
GtkListFactoryWidgetPrivate *priv = gtk_list_factory_widget_get_instance_private (self);
|
||||
|
||||
if (priv->activatable)
|
||||
if (!priv->activatable)
|
||||
return;
|
||||
|
||||
gtk_widget_activate_action (GTK_WIDGET (self),
|
||||
|
Loading…
Reference in New Issue
Block a user