diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-01-20 18:51:01 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-01-21 10:19:18 -0500 |
commit | 0537b167ca92d96192c744e8a78878679551e6d1 (patch) | |
tree | 9f351da8d6888fd16dd466a60592acd744b698cf | |
parent | fff6b3582125dd29fd646558ad0cfe777b994546 (diff) | |
download | gtk+-0537b167ca92d96192c744e8a78878679551e6d1.tar.gz |
inspector: Redo the controllers page
Use a column view, and only show the widgets own
controllers.
-rw-r--r-- | gtk/inspector/controllers.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk/inspector/controllers.c b/gtk/inspector/controllers.c index 5f0fb92242..08144f1e10 100644 --- a/gtk/inspector/controllers.c +++ b/gtk/inspector/controllers.c @@ -24,13 +24,8 @@ #include "gtkdropdown.h" #include "gtkbox.h" #include "gtkcustomsorter.h" -#include "gtkflattenlistmodel.h" -#include "gtkframe.h" #include "gtkgesture.h" #include "gtklabel.h" -#include "gtklistbox.h" -#include "gtkmaplistmodel.h" -#include "gtkpropertylookuplistmodelprivate.h" #include "gtkscrolledwindow.h" #include "gtksortlistmodel.h" #include "gtkstack.h" @@ -277,6 +272,7 @@ gtk_inspector_controllers_set_object (GtkInspectorControllers *self, if (!GTK_IS_WIDGET (object)) { + gtk_column_view_set_model (GTK_COLUMN_VIEW (self->view), NULL); g_object_set (page, "visible", FALSE, NULL); return; } |