From 24fa82f8eefff80c038f00f6903b090e21099e7d Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Tue, 25 Jul 2023 14:16:24 -0700 Subject: [PATCH] sysprof: dont autoselect descendants It makes focus confusing when loading Sysprof. --- src/sysprof/sysprof-callgraph-view.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sysprof/sysprof-callgraph-view.c b/src/sysprof/sysprof-callgraph-view.c index a88bfd35..b2ee7c5a 100644 --- a/src/sysprof/sysprof-callgraph-view.c +++ b/src/sysprof/sysprof-callgraph-view.c @@ -104,6 +104,7 @@ sysprof_callgraph_view_set_descendants (SysprofCallgraphView *self, descendants_sort_model = gtk_sort_list_model_new (g_object_ref (G_LIST_MODEL (descendants_tree)), g_object_ref (GTK_SORTER (descendants_sorter))); descendants_selection = gtk_single_selection_new (g_object_ref (G_LIST_MODEL (descendants_sort_model))); + gtk_single_selection_set_autoselect (descendants_selection, FALSE); g_signal_connect_object (descendants_selection, "selection-changed", G_CALLBACK (descendants_selection_changed_cb),