multitasking: Use AdwPreferences{Page,Group}
This commit is contained in:
parent
617341591b
commit
736150b035
1 changed files with 210 additions and 293 deletions
|
@ -2,41 +2,11 @@
|
|||
<interface>
|
||||
<template class="CcMultitaskingPanel" parent="CcPanel">
|
||||
<child>
|
||||
<object class="GtkScrolledWindow">
|
||||
<property name="hscrollbar-policy">never</property>
|
||||
<child>
|
||||
<object class="AdwClamp">
|
||||
<property name="maximum-size">600</property>
|
||||
<property name="tightening-threshold">400</property>
|
||||
<property name="margin_top">32</property>
|
||||
<property name="margin_bottom">32</property>
|
||||
<property name="margin_start">12</property>
|
||||
<property name="margin_end">12</property>
|
||||
<object class="AdwPreferencesPage">
|
||||
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">12</property>
|
||||
|
||||
<!-- General -->
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label" translatable="yes">General</property>
|
||||
<property name="xalign">0.0</property>
|
||||
<attributes>
|
||||
<attribute name="weight" value="bold" />
|
||||
</attributes>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkListBox">
|
||||
<property name="selection-mode">none</property>
|
||||
<property name="margin-bottom">24</property>
|
||||
|
||||
<style>
|
||||
<class name="boxed-list"/>
|
||||
</style>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="title" translatable="yes">General</property>
|
||||
|
||||
<!-- Hot Corner -->
|
||||
<child>
|
||||
|
@ -99,25 +69,9 @@
|
|||
</object>
|
||||
</child>
|
||||
|
||||
<!-- Workspaces -->
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label" translatable="yes">Workspaces</property>
|
||||
<property name="xalign">0.0</property>
|
||||
<attributes>
|
||||
<attribute name="weight" value="bold" />
|
||||
</attributes>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkListBox">
|
||||
<property name="selection-mode">none</property>
|
||||
<property name="margin-bottom">18</property>
|
||||
|
||||
<style>
|
||||
<class name="boxed-list"/>
|
||||
</style>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="title" translatable="yes">Workspaces</property>
|
||||
|
||||
<!-- Dynamic Workspaces -->
|
||||
<child>
|
||||
|
@ -175,25 +129,9 @@
|
|||
</object>
|
||||
</child>
|
||||
|
||||
<!-- Multi-Monitor -->
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label" translatable="yes">Multi-Monitor</property>
|
||||
<property name="xalign">0.0</property>
|
||||
<attributes>
|
||||
<attribute name="weight" value="bold" />
|
||||
</attributes>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkListBox">
|
||||
<property name="selection-mode">none</property>
|
||||
<property name="margin-bottom">18</property>
|
||||
|
||||
<style>
|
||||
<class name="boxed-list"/>
|
||||
</style>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="title" translatable="yes">Multi-Monitor</property>
|
||||
|
||||
<!-- Primary Display -->
|
||||
<child>
|
||||
|
@ -255,25 +193,9 @@
|
|||
</object>
|
||||
</child>
|
||||
|
||||
<!-- Application Switching -->
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label" translatable="yes">Application Switching</property>
|
||||
<property name="xalign">0.0</property>
|
||||
<attributes>
|
||||
<attribute name="weight" value="bold" />
|
||||
</attributes>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkListBox">
|
||||
<property name="selection-mode">none</property>
|
||||
<property name="margin-bottom">18</property>
|
||||
|
||||
<style>
|
||||
<class name="boxed-list"/>
|
||||
</style>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="title" translatable="yes">Application Switching</property>
|
||||
|
||||
<!-- All Workspaces -->
|
||||
<child>
|
||||
|
@ -313,11 +235,6 @@
|
|||
|
||||
</object>
|
||||
</child>
|
||||
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
|
||||
<object class="GtkAdjustment" id="workspaces_adjustment">
|
||||
|
|
Loading…
Add table
Reference in a new issue