2019-10-13 05:40:58 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<object class="GtkWindow" id="window">
|
|
|
|
<property name="title" translatable="yes">Settings</property>
|
2019-12-14 16:53:24 +00:00
|
|
|
<property name="default-width">640</property>
|
|
|
|
<property name="default-height">480</property>
|
2019-12-16 04:48:34 +00:00
|
|
|
<child type="titlebar">
|
|
|
|
<object class="GtkHeaderBar">
|
|
|
|
<child type="end">
|
|
|
|
<object class="GtkToggleButton" id="search_button">
|
|
|
|
<property name="icon-name">system-search-symbolic</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2019-10-13 05:40:58 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkPaned">
|
2019-12-14 16:53:24 +00:00
|
|
|
<property name="position">300</property>
|
2019-10-13 05:40:58 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkScrolledWindow">
|
|
|
|
<child>
|
|
|
|
<object class="GtkListView" id="listview">
|
2020-08-09 12:28:29 +00:00
|
|
|
<style>
|
|
|
|
<class name="navigation-sidebar"/>
|
|
|
|
</style>
|
2019-10-13 05:40:58 +00:00
|
|
|
<property name="factory">
|
|
|
|
<object class="GtkBuilderListItemFactory">
|
|
|
|
<property name="bytes"><![CDATA[
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<template class="GtkListItem">
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkTreeExpander" id="expander">
|
|
|
|
<binding name="list-row">
|
|
|
|
<lookup name="item">GtkListItem</lookup>
|
|
|
|
</binding>
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<binding name="label">
|
|
|
|
<lookup name="schema" type="GSettings">
|
|
|
|
<lookup name="item">expander</lookup>
|
|
|
|
</lookup>
|
|
|
|
</binding>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</template>
|
|
|
|
</interface>
|
|
|
|
]]></property>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2019-12-16 04:48:34 +00:00
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSearchBar">
|
|
|
|
<property name="search-mode-enabled" bind-source="search_button" bind-property="active" bind-flags="bidirectional"/>
|
|
|
|
<signal name="notify::search-mode-enabled" handler="search_enabled" object="entry"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSearchEntry" id="entry">
|
|
|
|
<signal name="search-changed" handler="search_changed"/>
|
|
|
|
<signal name="stop-search" handler="stop_search"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2019-10-13 05:40:58 +00:00
|
|
|
<child>
|
2019-12-16 04:48:34 +00:00
|
|
|
<object class="GtkScrolledWindow">
|
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="vexpand">1</property>
|
2019-10-13 05:40:58 +00:00
|
|
|
<child>
|
2019-12-16 04:48:34 +00:00
|
|
|
<object class="GtkColumnView" id="columnview">
|
2020-08-09 12:28:29 +00:00
|
|
|
<style>
|
|
|
|
<class name="data-table"/>
|
|
|
|
</style>
|
2019-12-16 04:48:34 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkColumnViewColumn" id="name_column">
|
|
|
|
<property name="title">Name</property>
|
2020-05-31 18:44:42 +00:00
|
|
|
<property name="header-menu">header_menu</property>
|
2019-12-16 04:48:34 +00:00
|
|
|
<property name="factory">
|
|
|
|
<object class="GtkBuilderListItemFactory">
|
|
|
|
<property name="bytes"><![CDATA[
|
2019-10-13 05:40:58 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<template class="GtkListItem">
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<binding name="label">
|
|
|
|
<lookup name="name" type="SettingsKey">
|
|
|
|
<lookup name="item">GtkListItem</lookup>
|
|
|
|
</lookup>
|
|
|
|
</binding>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</template>
|
|
|
|
</interface>
|
|
|
|
]]></property>
|
2019-12-16 04:48:34 +00:00
|
|
|
</object>
|
|
|
|
</property>
|
2019-10-13 05:40:58 +00:00
|
|
|
</object>
|
2019-12-16 04:48:34 +00:00
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkColumnViewColumn">
|
|
|
|
<property name="title">Value</property>
|
2020-06-03 16:30:55 +00:00
|
|
|
<property name="resizable">1</property>
|
2020-05-31 18:44:42 +00:00
|
|
|
<property name="header-menu">header_menu</property>
|
2019-12-16 04:48:34 +00:00
|
|
|
<property name="factory">
|
|
|
|
<object class="GtkBuilderListItemFactory">
|
|
|
|
<property name="bytes"><![CDATA[
|
2019-10-13 05:40:58 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<template class="GtkListItem">
|
|
|
|
<property name="child">
|
2020-06-12 15:07:37 +00:00
|
|
|
<object class="GtkEditableLabel">
|
2020-06-16 20:22:19 +00:00
|
|
|
<binding name="text">
|
2019-10-13 05:40:58 +00:00
|
|
|
<lookup name="value" type="SettingsKey">
|
|
|
|
<lookup name="item">GtkListItem</lookup>
|
|
|
|
</lookup>
|
|
|
|
</binding>
|
2020-06-12 15:07:37 +00:00
|
|
|
<signal name="notify::label" handler="item_value_changed"/>
|
2019-10-13 05:40:58 +00:00
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</template>
|
2020-06-01 03:42:36 +00:00
|
|
|
</interface>
|
|
|
|
]]></property>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2020-05-31 18:44:42 +00:00
|
|
|
<object class="GtkColumnViewColumn" id="type_column">
|
2020-06-01 03:42:36 +00:00
|
|
|
<property name="title">Type</property>
|
2020-06-03 16:30:55 +00:00
|
|
|
<property name="resizable">1</property>
|
2020-05-31 18:44:42 +00:00
|
|
|
<property name="header-menu">header_menu</property>
|
2020-06-01 03:42:36 +00:00
|
|
|
<property name="factory">
|
|
|
|
<object class="GtkBuilderListItemFactory">
|
|
|
|
<property name="bytes"><![CDATA[
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<template class="GtkListItem">
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<binding name="label">
|
|
|
|
<lookup name="type" type="SettingsKey">
|
|
|
|
<lookup name="item">GtkListItem</lookup>
|
|
|
|
</lookup>
|
|
|
|
</binding>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</template>
|
|
|
|
</interface>
|
|
|
|
]]></property>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2020-05-31 18:44:42 +00:00
|
|
|
<object class="GtkColumnViewColumn" id="default_column">
|
2020-06-01 03:42:36 +00:00
|
|
|
<property name="title">Default</property>
|
2020-06-03 16:30:55 +00:00
|
|
|
<property name="resizable">1</property>
|
2020-06-03 17:16:14 +00:00
|
|
|
<property name="expand">1</property>
|
2020-05-31 18:44:42 +00:00
|
|
|
<property name="header-menu">header_menu</property>
|
2020-06-01 03:42:36 +00:00
|
|
|
<property name="factory">
|
|
|
|
<object class="GtkBuilderListItemFactory">
|
|
|
|
<property name="bytes"><![CDATA[
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<template class="GtkListItem">
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<binding name="label">
|
|
|
|
<lookup name="default-value" type="SettingsKey">
|
|
|
|
<lookup name="item">GtkListItem</lookup>
|
|
|
|
</lookup>
|
|
|
|
</binding>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</template>
|
2020-06-01 18:46:12 +00:00
|
|
|
</interface>
|
|
|
|
]]></property>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkColumnViewColumn" id="summary_column">
|
|
|
|
<property name="title">Summary</property>
|
2020-06-03 16:30:55 +00:00
|
|
|
<property name="resizable">1</property>
|
2020-06-01 18:46:12 +00:00
|
|
|
<property name="visible">0</property>
|
2020-06-03 17:16:14 +00:00
|
|
|
<property name="expand">1</property>
|
2020-06-01 18:46:12 +00:00
|
|
|
<property name="header-menu">header_menu</property>
|
|
|
|
<property name="factory">
|
|
|
|
<object class="GtkBuilderListItemFactory">
|
|
|
|
<property name="bytes"><![CDATA[
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<template class="GtkListItem">
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="wrap">1</property>
|
|
|
|
<binding name="label">
|
|
|
|
<lookup name="summary" type="SettingsKey">
|
|
|
|
<lookup name="item">GtkListItem</lookup>
|
|
|
|
</lookup>
|
|
|
|
</binding>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</template>
|
|
|
|
</interface>
|
|
|
|
]]></property>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkColumnViewColumn" id="description_column">
|
|
|
|
<property name="title">Description</property>
|
2020-06-03 16:30:55 +00:00
|
|
|
<property name="resizable">1</property>
|
2020-06-01 18:46:12 +00:00
|
|
|
<property name="visible">0</property>
|
2020-06-03 17:16:14 +00:00
|
|
|
<property name="expand">1</property>
|
2020-06-01 18:46:12 +00:00
|
|
|
<property name="header-menu">header_menu</property>
|
|
|
|
<property name="factory">
|
|
|
|
<object class="GtkBuilderListItemFactory">
|
|
|
|
<property name="bytes"><![CDATA[
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<template class="GtkListItem">
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="wrap">1</property>
|
|
|
|
<binding name="label">
|
|
|
|
<lookup name="description" type="SettingsKey">
|
|
|
|
<lookup name="item">GtkListItem</lookup>
|
|
|
|
</lookup>
|
|
|
|
</binding>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</template>
|
2019-10-13 05:40:58 +00:00
|
|
|
</interface>
|
|
|
|
]]></property>
|
2019-12-16 04:48:34 +00:00
|
|
|
</object>
|
|
|
|
</property>
|
2019-10-13 05:40:58 +00:00
|
|
|
</object>
|
2019-12-16 04:48:34 +00:00
|
|
|
</child>
|
2019-10-13 05:40:58 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2020-05-31 18:44:42 +00:00
|
|
|
<menu id="header_menu">
|
|
|
|
<section>
|
|
|
|
<item>
|
|
|
|
<attribute name="label" translatable="yes">Type</attribute>
|
|
|
|
<attribute name="action">columnview.show-type</attribute>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<attribute name="label" translatable="yes">Default value</attribute>
|
|
|
|
<attribute name="action">columnview.show-default</attribute>
|
|
|
|
</item>
|
2020-06-01 18:46:12 +00:00
|
|
|
<item>
|
|
|
|
<attribute name="label" translatable="yes">Summary</attribute>
|
|
|
|
<attribute name="action">columnview.show-summary</attribute>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<attribute name="label" translatable="yes">Description</attribute>
|
|
|
|
<attribute name="action">columnview.show-description</attribute>
|
|
|
|
</item>
|
2020-05-31 18:44:42 +00:00
|
|
|
</section>
|
|
|
|
</menu>
|
2019-10-13 05:40:58 +00:00
|
|
|
</interface>
|