2021-09-28 08:36:27 +13:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2022-11-19 11:32:08 +13:00
|
|
|
<!-- Generated with glade 3.40.0
|
2021-09-28 08:36:27 +13:00
|
|
|
|
|
|
|
Copyright (C) 2015-2021 Olivier Keshavjee et al.
|
|
|
|
|
|
|
|
This file is part of Manuskript.
|
|
|
|
|
|
|
|
Manuskript is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
Manuskript is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with Manuskript. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
-->
|
|
|
|
<interface>
|
|
|
|
<requires lib="gtk+" version="3.24"/>
|
|
|
|
<requires lib="libhandy" version="0.0"/>
|
|
|
|
<!-- interface-local-resource-path ../ -->
|
|
|
|
<!-- interface-license-type gplv3 -->
|
|
|
|
<!-- interface-name Manuskript -->
|
|
|
|
<!-- interface-description Manuskript is an open-source tool for writers. -->
|
|
|
|
<!-- interface-copyright 2015-2021 Olivier Keshavjee et al. -->
|
2022-11-19 11:32:08 +13:00
|
|
|
<object class="GtkListStore" id="label_store">
|
|
|
|
<columns>
|
|
|
|
<!-- column-name name -->
|
|
|
|
<column type="gchararray"/>
|
|
|
|
<!-- column-name color -->
|
|
|
|
<column type="GdkPixbuf"/>
|
|
|
|
</columns>
|
|
|
|
</object>
|
2021-09-28 08:36:27 +13:00
|
|
|
<object class="HdyPreferencesPage" id="labels_page">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="icon-name">emoji-symbols-symbolic</property>
|
|
|
|
<property name="title" translatable="yes">Labels</property>
|
|
|
|
<child>
|
|
|
|
<object class="HdyPreferencesGroup">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="title" translatable="yes">Labels</property>
|
|
|
|
<child>
|
|
|
|
<object class="HdyPreferencesRow">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="title">Edit labels</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="margin-start">12</property>
|
|
|
|
<property name="margin-end">12</property>
|
|
|
|
<property name="margin-top">12</property>
|
|
|
|
<property name="margin-bottom">12</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">12</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="spacing">12</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScrolledWindow">
|
|
|
|
<property name="height-request">300</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="shadow-type">in</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkViewport">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<child>
|
2022-11-19 11:32:08 +13:00
|
|
|
<object class="GtkTreeView">
|
2021-09-28 08:36:27 +13:00
|
|
|
<property name="visible">True</property>
|
2022-11-19 11:32:08 +13:00
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="model">label_store</property>
|
|
|
|
<property name="headers-visible">False</property>
|
|
|
|
<child internal-child="selection">
|
|
|
|
<object class="GtkTreeSelection" id="label_selection"/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkTreeViewColumn">
|
|
|
|
<child>
|
|
|
|
<object class="GtkCellRendererPixbuf"/>
|
|
|
|
<attributes>
|
|
|
|
<attribute name="pixbuf">1</attribute>
|
|
|
|
</attributes>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkCellRendererText"/>
|
|
|
|
<attributes>
|
|
|
|
<attribute name="text">0</attribute>
|
|
|
|
</attributes>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2021-09-28 08:36:27 +13:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2022-11-19 11:32:08 +13:00
|
|
|
<object class="GtkColorButton" id="color">
|
2021-09-28 08:36:27 +13:00
|
|
|
<property name="width-request">48</property>
|
|
|
|
<property name="height-request">48</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="receives-default">True</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">start</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">start</property>
|
|
|
|
<property name="spacing">8</property>
|
|
|
|
<child>
|
2022-11-19 11:32:08 +13:00
|
|
|
<object class="GtkButton" id="add_label">
|
2021-09-28 08:36:27 +13:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="receives-default">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="icon-name">list-add</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2022-11-19 11:32:08 +13:00
|
|
|
<object class="GtkButton" id="remove_label">
|
2021-09-28 08:36:27 +13:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="receives-default">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="icon-name">list-remove</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</interface>
|