2012-05-22 11:34:20 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2010-08-10 15:26:07 +01:00
|
|
|
<interface>
|
2019-05-21 13:48:46 -03:00
|
|
|
<template class="CcBackgroundPanel" parent="CcPanel">
|
2022-01-19 13:15:26 -03:00
|
|
|
<child type="content">
|
2021-12-12 21:07:18 +05:00
|
|
|
<object class="GtkScrolledWindow">
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<property name="hscrollbar-policy">never</property>
|
2019-05-21 20:17:14 -03:00
|
|
|
|
2010-08-10 15:26:07 +01:00
|
|
|
<child>
|
2021-12-12 21:07:18 +05:00
|
|
|
<object class="GtkViewport">
|
|
|
|
<property name="scroll-to-focus">True</property>
|
|
|
|
|
2013-08-19 21:00:48 +02:00
|
|
|
<child>
|
2021-12-12 21:07:18 +05:00
|
|
|
<object class="AdwClamp">
|
|
|
|
|
2019-07-20 02:22:03 +00:00
|
|
|
<child>
|
2021-12-12 21:07:18 +05:00
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">24</property>
|
|
|
|
<property name="margin-top">24</property>
|
|
|
|
<property name="margin-bottom">24</property>
|
|
|
|
<property name="margin-start">12</property>
|
|
|
|
<property name="margin-end">12</property>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
<object class="AdwPreferencesGroup">
|
2021-12-19 17:11:57 +05:00
|
|
|
<property name="title" translatable="yes">Style</property>
|
2021-12-12 21:07:18 +05:00
|
|
|
|
|
|
|
<child>
|
|
|
|
<object class="AdwPreferencesRow">
|
|
|
|
<property name="activatable">False</property>
|
2021-12-19 17:11:57 +05:00
|
|
|
<property name="focusable">False</property>
|
2021-12-12 21:07:18 +05:00
|
|
|
<child>
|
|
|
|
<object class="AdwClamp">
|
2021-12-19 17:11:57 +05:00
|
|
|
<property name="maximum_size">400</property>
|
|
|
|
<property name="tightening_threshold">300</property>
|
2021-12-12 21:07:18 +05:00
|
|
|
<child>
|
2021-12-19 17:11:57 +05:00
|
|
|
<object class="GtkGrid">
|
|
|
|
<property name="column-spacing">24</property>
|
|
|
|
<property name="row-spacing">12</property>
|
2021-12-12 21:07:18 +05:00
|
|
|
<property name="margin-start">12</property>
|
|
|
|
<property name="margin-end">12</property>
|
|
|
|
<property name="margin-top">18</property>
|
2021-12-19 17:11:57 +05:00
|
|
|
<property name="margin-bottom">12</property>
|
2021-12-12 21:07:18 +05:00
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<child>
|
2021-12-19 17:11:57 +05:00
|
|
|
<object class="GtkToggleButton" id="light_toggle">
|
|
|
|
<signal name="notify::active" handler="on_light_dark_toggle_active_cb" swapped="true"/>
|
|
|
|
<child>
|
|
|
|
<object class="CcBackgroundPreview" id="light_preview"/>
|
|
|
|
</child>
|
|
|
|
<style>
|
|
|
|
<class name="background-preview-button"/>
|
|
|
|
</style>
|
|
|
|
<layout>
|
|
|
|
<property name="column">0</property>
|
|
|
|
<property name="row">0</property>
|
|
|
|
</layout>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="label" translatable="yes">Light</property>
|
|
|
|
<layout>
|
|
|
|
<property name="column">0</property>
|
|
|
|
<property name="row">1</property>
|
|
|
|
</layout>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkToggleButton" id="dark_toggle">
|
|
|
|
<property name="group">light_toggle</property>
|
|
|
|
<signal name="notify::active" handler="on_light_dark_toggle_active_cb" swapped="true"/>
|
|
|
|
<child>
|
|
|
|
<object class="CcBackgroundPreview" id="dark_preview">
|
|
|
|
<property name="is-dark">True</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<style>
|
|
|
|
<class name="background-preview-button"/>
|
|
|
|
</style>
|
|
|
|
<layout>
|
|
|
|
<property name="column">1</property>
|
|
|
|
<property name="row">0</property>
|
|
|
|
</layout>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="label" translatable="yes">Dark</property>
|
|
|
|
<layout>
|
|
|
|
<property name="column">1</property>
|
|
|
|
<property name="row">1</property>
|
|
|
|
</layout>
|
2021-12-12 21:07:18 +05:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="label" translatable="yes">Background</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="ellipsize">end</property>
|
|
|
|
<style>
|
|
|
|
<class name="heading"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton">
|
|
|
|
<child>
|
|
|
|
<object class="AdwButtonContent">
|
|
|
|
<property name="icon-name">list-add-symbolic</property>
|
|
|
|
<property name="label" translatable="yes">Add Picture…</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<signal name="clicked" handler="on_add_picture_button_clicked_cb" object="CcBackgroundPanel" swapped="yes" />
|
|
|
|
<style>
|
|
|
|
<class name="flat"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
<object class="AdwBin">
|
|
|
|
<style>
|
|
|
|
<class name="card"/>
|
|
|
|
</style>
|
|
|
|
<child>
|
|
|
|
<object class="CcBackgroundChooser" id="background_chooser">
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<signal name="background-chosen" handler="on_chooser_background_chosen_cb" object="CcBackgroundPanel" swapped="yes" />
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
2019-07-20 02:22:03 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2021-12-12 21:07:18 +05:00
|
|
|
|
2010-08-10 15:26:07 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
2019-05-21 20:17:14 -03:00
|
|
|
|
|
|
|
</object>
|
2010-08-10 15:26:07 +01:00
|
|
|
</child>
|
2021-12-12 21:07:18 +05:00
|
|
|
|
2010-08-10 15:26:07 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
2019-05-21 13:48:46 -03:00
|
|
|
</template>
|
2010-08-10 15:26:07 +01:00
|
|
|
</interface>
|