🔧 Streamline settings ui file

This commit is contained in:
Simon Schneegans
2024-11-03 09:11:02 +01:00
parent b3d5e06a00
commit 46874043d7
+7 -70
View File
@@ -219,89 +219,27 @@ SPDX-License-Identifier: GPL-3.0-or-later
<child>
<object class="AdwPreferencesGroup">
<!--these are extra title and description that is not needed-->
<!-- <property name="title" translatable="yes">Effect Selection</property> -->
<!-- <property name="description" translatable="yes">If multiple are selected, one is chosen randomly.</property> -->
<child>
<object class="GtkGrid" id="selection-controls">
<property name="row-spacing">5</property>
<property name="column-spacing">5</property>
<child>
<object class="AdwPreferencesGroup" id="header-text">
<property name="margin-top">10</property>
<property name="title" translatable="yes">Effect Selection</property>
<property name="description" translatable="yes">If multiple are selected, one is chosen randomly.</property>
<layout>
<property name="column">0</property>
<property name="row">0</property>
<property name="column-span">8</property>
</layout>
</object>
</child>
<child>
<object class="GtkBox">
<property name="orientation">horizontal</property>
<property name="spacing">5</property>
<!-- Search Entry -->
<child>
<object class="GtkSearchEntry" id="search_entry">
<property name="hexpand">true</property>
<property name="placeholder-text" translatable="yes">Search...</property>
<layout>
<property name="column">0</property>
<property name="row">1</property>
<property name="column-span">8</property>
</layout>
</object>
</child>
<!-- maybe later add a way to only show enabled|disabled|both -->
<!-- <child>
<object class="GtkBox">
<property name="orientation">horizontal</property>
<property name="hexpand">true</property>
<property name="homogeneous">true</property>
<layout>
<property name="column">0</property>
<property name="row">1</property>
<property name="column-span">3</property>
</layout>
<style>
<class name="linked" />
</style>
<child>
<object class="GtkButton" id="show-enabled-effects-button">
<property name="label" translatable="yes">Show Enabled</property>
</object>
</child>
<child>
<object class="GtkButton" id="show-disabled-effects-button">
<property name="label" translatable="yes">Show Disable</property>
</object>
</child>
<child>
<object class="GtkButton" id="show-all-effects-button">
<property name="label" translatable="yes">Show All</property>
</object>
</child>
</object>
</child> -->
<child>
<object class="GtkBox">
<property name="orientation">horizontal</property>
<property name="hexpand">true</property>
<property name="homogeneous">true</property>
<layout>
<property name="column">8</property>
<property name="row">1</property>
<property name="column-span">2</property>
</layout>
<style>
<class name="linked" />
@@ -340,5 +278,4 @@ SPDX-License-Identifier: GPL-3.0-or-later
</object>
</interface>