🔧 Work on effect profiles
This commit is contained in:
+30
-33
@@ -2,8 +2,7 @@
|
|||||||
|
|
||||||
<!--
|
<!--
|
||||||
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
|
SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
|
||||||
SPDX-License-Identifier:
|
SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
GPL-3.0-or-later
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<interface domain="burn-my-windows">
|
<interface domain="burn-my-windows">
|
||||||
@@ -12,9 +11,9 @@ GPL-3.0-or-later
|
|||||||
<object class="GtkBox" id="profile-button">
|
<object class="GtkBox" id="profile-button">
|
||||||
<property name="halign">center</property>
|
<property name="halign">center</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton">
|
<object class="GtkMenuButton">
|
||||||
<property name="label">Default Profile</property>
|
<property name="label">Default Profile</property>
|
||||||
<property name="valign">center</property>
|
<property name="menu-model">effect-profile-menu</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
@@ -27,6 +26,12 @@ GPL-3.0-or-later
|
|||||||
</binding>
|
</binding>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton">
|
||||||
|
<property name="icon-name">user-trash-symbolic</property>
|
||||||
|
<property name="valign">center</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
<style>
|
<style>
|
||||||
<class name="linked" />
|
<class name="linked" />
|
||||||
</style>
|
</style>
|
||||||
@@ -57,7 +62,8 @@ GPL-3.0-or-later
|
|||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwPreferencesGroup">
|
<object class="AdwPreferencesGroup">
|
||||||
|
<property name="title" translatable="yes">Edit Effect Profile</property>
|
||||||
|
<property name="description" translatable="yes">Here you can specify under which circumstances the current effect settings should be applied.</property>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwEntryRow">
|
<object class="AdwEntryRow">
|
||||||
@@ -85,7 +91,7 @@ GPL-3.0-or-later
|
|||||||
</property>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwComboRow">
|
<object class="AdwComboRow">
|
||||||
<property name="title" translatable="yes">Window Type</property>
|
<property name="title" translatable="yes">Window Type</property>
|
||||||
@@ -100,7 +106,22 @@ GPL-3.0-or-later
|
|||||||
</property>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<object class="AdwComboRow">
|
||||||
|
<property name="title" translatable="yes">Desktop Style</property>
|
||||||
|
<property name="model">
|
||||||
|
<object class="GtkStringList">
|
||||||
|
<items>
|
||||||
|
<item>Any</item>
|
||||||
|
<item>Default Mode</item>
|
||||||
|
<item>Dark Mode</item>
|
||||||
|
</items>
|
||||||
|
</object>
|
||||||
|
</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwComboRow">
|
<object class="AdwComboRow">
|
||||||
<property name="title" translatable="yes">Power Mode</property>
|
<property name="title" translatable="yes">Power Mode</property>
|
||||||
@@ -137,29 +158,6 @@ GPL-3.0-or-later
|
|||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
|
||||||
<object class="GtkBox">
|
|
||||||
|
|
||||||
<child>
|
|
||||||
<object class="GtkButton">
|
|
||||||
<property name="label" translatable="yes">Delete this Profile...</property>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<child>
|
|
||||||
<object class="GtkButton">
|
|
||||||
<property name="halign">end</property>
|
|
||||||
<property name="hexpand">true</property>
|
|
||||||
<property name="icon-name">system-help-symbolic</property>
|
|
||||||
<style>
|
|
||||||
<class name="circular" />
|
|
||||||
</style>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
</object>
|
</object>
|
||||||
</property>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
@@ -186,11 +184,11 @@ GPL-3.0-or-later
|
|||||||
<style>
|
<style>
|
||||||
<class name="linked" />
|
<class name="linked" />
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton">
|
<object class="GtkButton">
|
||||||
|
|
||||||
<property name="icon-name">edit-paste-symbolic</property>
|
<property name="icon-name">edit-paste-symbolic</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
@@ -201,7 +199,6 @@ GPL-3.0-or-later
|
|||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|||||||
@@ -49,4 +49,19 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||||||
</item>
|
</item>
|
||||||
</section>
|
</section>
|
||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
|
<menu id="effect-profile-menu">
|
||||||
|
<section>
|
||||||
|
<item>
|
||||||
|
<attribute name="label" translatable="yes">Default Profile</attribute>
|
||||||
|
<attribute name="action">profile.default</attribute>
|
||||||
|
</item>
|
||||||
|
</section>
|
||||||
|
<section>
|
||||||
|
<item>
|
||||||
|
<attribute name="label" translatable="yes">Add New...</attribute>
|
||||||
|
<attribute name="action">profile.new</attribute>
|
||||||
|
</item>
|
||||||
|
</section>
|
||||||
|
</menu>
|
||||||
</interface>
|
</interface>
|
||||||
Reference in New Issue
Block a user