[gnome-builder] libide/tweaks: allow sections in pages



commit edf50c2d417032e950425723dde5dd87085e8876
Author: Christian Hergert <chergert redhat com>
Date:   Wed Aug 17 18:01:57 2022 -0700

    libide/tweaks: allow sections in pages

 src/libide/tweaks/ide-tweaks-page.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/tweaks/ide-tweaks-page.c b/src/libide/tweaks/ide-tweaks-page.c
index a86be71ba..176081789 100644
--- a/src/libide/tweaks/ide-tweaks-page.c
+++ b/src/libide/tweaks/ide-tweaks-page.c
@@ -64,7 +64,8 @@ ide_tweaks_page_accepts (IdeTweaksItem *item,
   return IDE_IS_TWEAKS_PAGE (child) ||
          IDE_IS_TWEAKS_FACTORY (child) ||
          IDE_IS_TWEAKS_GROUP (child) ||
-         IDE_IS_TWEAKS_SETTINGS (child);
+         IDE_IS_TWEAKS_SETTINGS (child) ||
+         IDE_IS_TWEAKS_SECTION (child);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]