mirror of
https://github.com/TakeV-Lambda/Tooth.git
synced 2024-10-31 21:20:24 +00:00
241 lines
11 KiB
XML
241 lines
11 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk" version="4.0"/>
|
|
<requires lib="gtk" version="4.0"/>
|
|
<template class="TootleDialogsListEditor" parent="AdwWindow">
|
|
<property name="can_focus">False</property>
|
|
<property name="modal">True</property>
|
|
<property name="default_width">300</property>
|
|
<property name="default_height">400</property>
|
|
<property name="type_hint">dialog</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">0</property>
|
|
<property name="width_request">300</property>
|
|
<property name="height_request">500</property>
|
|
<property name="hexpand">1</property>
|
|
<property name="vexpand">1</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkHeaderBar">
|
|
<property name="visible">0</property>
|
|
<child type="title">
|
|
<object class="GtkBox">
|
|
<property name="visible">0</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">0</property>
|
|
<property name="label" translatable="yes">Name</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry" id="name_entry">
|
|
<property name="visible">0</property>
|
|
<property name="sensitive">0</property>
|
|
<property name="width_chars">20</property>
|
|
<signal name="changed" handler="validate" swapped="no"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="cancel_btn">
|
|
<property name="visible">0</property>
|
|
<property name="label" translatable="yes">Cancel</property>
|
|
<property name="width_request">80</property>
|
|
<property name="receives_default">1</property>
|
|
<signal name="clicked" handler="on_cancel_clicked" swapped="no"/>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="save_btn">
|
|
<property name="visible">0</property>
|
|
<property name="width_request">80</property>
|
|
<property name="sensitive">0</property>
|
|
<property name="receives_default">1</property>
|
|
<signal name="clicked" handler="on_save_clicked" swapped="no"/>
|
|
<child>
|
|
<object class="GtkStack" id="save_btn_stack">
|
|
<property name="visible">0</property>
|
|
<child>
|
|
<object class="GtkStackPage">
|
|
<property name="name">done</property>
|
|
<property name="child">
|
|
<object class="GtkLabel">
|
|
<property name="visible">0</property>
|
|
<property name="label" translatable="yes">Save</property>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStackPage">
|
|
<property name="name">working</property>
|
|
<property name="position">1</property>
|
|
<property name="child">
|
|
<object class="GtkSpinner">
|
|
<property name="visible">0</property>
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
<property name="active">True</property>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<style>
|
|
<class name="suggested-action"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="pack_type">end</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInfoBar" id="infobar">
|
|
<property name="visible">0</property>
|
|
<property name="message_type">error</property>
|
|
<property name="show_close_button">1</property>
|
|
<property name="revealed">0</property>
|
|
<signal name="response" handler="infobar_response" swapped="no"/>
|
|
<child internal-child="action_area">
|
|
<object class="GtkButtonBox">
|
|
<property name="can_focus">False</property>
|
|
<property name="spacing">6</property>
|
|
<property name="layout_style">end</property>
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">False</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child internal-child="content_area">
|
|
<object class="GtkBox">
|
|
<property name="visible">0</property>
|
|
<property name="spacing">16</property>
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="infobar_label">
|
|
<property name="visible">0</property>
|
|
<property name="margin_start">6</property>
|
|
<property name="margin_end">6</property>
|
|
<property name="margin_top">6</property>
|
|
<property name="margin_bottom">6</property>
|
|
<property name="hexpand">1</property>
|
|
<property name="wrap">1</property>
|
|
<property name="wrap_mode">word-char</property>
|
|
<property name="xalign">0</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">False</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSearchEntry" id="search_entry">
|
|
<property name="visible">0</property>
|
|
<property name="sensitive">0</property>
|
|
<property name="can_default">True</property>
|
|
<property name="has_default">1</property>
|
|
<property name="margin_start">6</property>
|
|
<property name="margin_end">6</property>
|
|
<property name="margin_top">6</property>
|
|
<property name="margin_bottom">6</property>
|
|
<property name="hexpand">1</property>
|
|
<property name="width_chars">30</property>
|
|
<property name="truncate_multiline">True</property>
|
|
<property name="caps_lock_warning">False</property>
|
|
<property name="primary_icon_name">edit-find-symbolic</property>
|
|
<property name="primary_icon_activatable">False</property>
|
|
<property name="primary_icon_sensitive">False</property>
|
|
<property name="placeholder_text" translatable="yes">Search among people you follow</property>
|
|
<signal name="search-changed" handler="on_search_changed" swapped="no"/>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="visible">0</property>
|
|
<property name="hexpand">1</property>
|
|
<property name="vexpand">1</property>
|
|
<property name="hscrollbar_policy">never</property>
|
|
<property name="child">
|
|
<object class="GtkViewport">
|
|
<property name="visible">0</property>
|
|
<property name="child">
|
|
<object class="GtkListBox" id="listbox">
|
|
<property name="visible">0</property>
|
|
<property name="hexpand">1</property>
|
|
<property name="vexpand">1</property>
|
|
<property name="selection_mode">none</property>
|
|
<property name="activate_on_single_click">0</property>
|
|
<child type="placeholder">
|
|
<object class="GtkBox">
|
|
<property name="visible">0</property>
|
|
<property name="opacity">0.35</property>
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="margin_start">12</property>
|
|
<property name="margin_end">12</property>
|
|
<property name="margin_top">18</property>
|
|
<property name="margin_bottom">18</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">0</property>
|
|
<property name="pixel_size">48</property>
|
|
<property name="icon_name">face-sad-symbolic</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">0</property>
|
|
<property name="label" translatable="yes">Nobody here</property>
|
|
<property name="justify">center</property>
|
|
<property name="wrap">1</property>
|
|
<style>
|
|
<class name="title-2"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<style>
|
|
<class name="frame"/>
|
|
</style>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|