mirror of
https://github.com/TakeV-Lambda/dino.git
synced 2024-11-01 13:40:20 +00:00
170 lines
9.7 KiB
XML
170 lines
9.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="DinoUiGlobalSearch" parent="GtkOverlay">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkSearchEntry" id="search_entry">
|
|
<property name="visible">True</property>
|
|
<property name="margin">12</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStack" id="results_empty_stack">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">10</property>
|
|
<property name="valign">center</property>
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">True</property>
|
|
<property name="icon-name">system-search-symbolic</property>
|
|
<property name="icon-size">4</property>
|
|
<property name="pixel-size">72</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="label" translatable="yes">No active search</property>
|
|
<property name="xalign">0.5</property>
|
|
<property name="yalign">0.5</property>
|
|
<property name="visible">True</property>
|
|
<attributes>
|
|
<attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
|
|
<attribute name="scale" value="1.3"/>
|
|
</attributes>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="label" translatable="yes">Type to start a search</property>
|
|
<property name="xalign">0.5</property>
|
|
<property name="yalign">0.5</property>
|
|
<property name="visible">True</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">empty</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">10</property>
|
|
<property name="valign">center</property>
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">True</property>
|
|
<property name="icon-name">face-uncertain-symbolic</property>
|
|
<property name="icon-size">4</property>
|
|
<property name="pixel-size">72</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="label" translatable="yes">No matching messages</property>
|
|
<property name="xalign">0.5</property>
|
|
<property name="yalign">0.5</property>
|
|
<property name="visible">True</property>
|
|
<attributes>
|
|
<attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
|
|
<attribute name="scale" value="1.3"/>
|
|
</attributes>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="label" translatable="yes">Check the spelling or try to remove filters</property>
|
|
<property name="xalign">0.5</property>
|
|
<property name="yalign">0.5</property>
|
|
<property name="visible">True</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">no-result</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkLabel" id="entry_number_label">
|
|
<property name="xalign">0</property>
|
|
<property name="use-markup">True</property>
|
|
<property name="margin-left">17</property>
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow" id="results_scrolled">
|
|
<property name="hscrollbar-policy">never</property>
|
|
<property name="expand">True</property>
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkBox" id="results_box">
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">25</property>
|
|
<property name="margin">10</property>
|
|
<property name="valign">start</property>
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">results</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="overlay">
|
|
<object class="GtkFrame" id="auto_complete_overlay">
|
|
<property name="visible">True</property>
|
|
<property name="margin-top">42</property>
|
|
<property name="margin-left">12</property>
|
|
<property name="margin-right">12</property>
|
|
<property name="valign">start</property>
|
|
<style>
|
|
<class name="auto-complete"/>
|
|
</style>
|
|
<child>
|
|
<object class="GtkListBox" id="auto_complete_list">
|
|
<property name="visible">True</property>
|
|
<property name="selection-mode">browse</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|