diff options
author | fiaxh <git@lightrise.org> | 2022-12-25 18:04:26 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2023-01-24 19:20:43 +0100 |
commit | 4b391f3f31c2272be11a24c8301641b045260e99 (patch) | |
tree | 6ded080a20fe7d0feae396d3843f6013e410cbe6 /main/data/global_search.ui | |
parent | 92aca5672db723121471e513e83b68742761d1b5 (diff) | |
download | dino-4b391f3f31c2272be11a24c8301641b045260e99.tar.gz dino-4b391f3f31c2272be11a24c8301641b045260e99.zip |
Use Adw.StatusPage instead of custom placeholders
Diffstat (limited to 'main/data/global_search.ui')
-rw-r--r-- | main/data/global_search.ui | 82 |
1 files changed, 14 insertions, 68 deletions
diff --git a/main/data/global_search.ui b/main/data/global_search.ui index a29c48de..610bcace 100644 --- a/main/data/global_search.ui +++ b/main/data/global_search.ui @@ -19,40 +19,13 @@ <object class="GtkStackPage"> <property name="name">empty</property> <property name="child"> - <object class="GtkBox"> - <property name="orientation">vertical</property> - <property name="spacing">10</property> - <property name="valign">center</property> - <child> - <object class="GtkImage"> - <property name="icon-name">system-search-symbolic</property> - <property name="icon-size">large</property> - <property name="pixel-size">72</property> - <style> - <class name="dim-label"/> - </style> - </object> - </child> - <child> - <object class="GtkLabel"> - <property name="label" translatable="1">No active search</property> - <attributes> - <attribute name="weight" value="PANGO_WEIGHT_BOLD"></attribute> - <attribute name="scale" value="1.3"></attribute> - </attributes> - <style> - <class name="dim-label"/> - </style> - </object> - </child> - <child> - <object class="GtkLabel"> - <property name="label" translatable="1">Type to start a search</property> - <style> - <class name="dim-label"/> - </style> - </object> - </child> + <object class="AdwStatusPage"> + <style> + <class name="compact"/> + </style> + <property name="icon-name">system-search-symbolic</property> + <property name="title" translatable="1">No active search</property> + <property name="description" translatable="1">Type to start a search</property> </object> </property> </object> @@ -61,40 +34,13 @@ <object class="GtkStackPage"> <property name="name">no-result</property> <property name="child"> - <object class="GtkBox"> - <property name="orientation">vertical</property> - <property name="spacing">10</property> - <property name="valign">center</property> - <child> - <object class="GtkImage"> - <property name="icon-name">face-uncertain-symbolic</property> - <property name="icon-size">large</property> - <property name="pixel-size">72</property> - <style> - <class name="dim-label"/> - </style> - </object> - </child> - <child> - <object class="GtkLabel"> - <property name="label" translatable="1">No matching messages</property> - <attributes> - <attribute name="weight" value="PANGO_WEIGHT_BOLD"></attribute> - <attribute name="scale" value="1.3"></attribute> - </attributes> - <style> - <class name="dim-label"/> - </style> - </object> - </child> - <child> - <object class="GtkLabel"> - <property name="label" translatable="1">Check the spelling or try to remove filters</property> - <style> - <class name="dim-label"/> - </style> - </object> - </child> + <object class="AdwStatusPage"> + <style> + <class name="compact"/> + </style> + <property name="icon-name">face-uncertain-symbolic</property> + <property name="title" translatable="1">No matching messages</property> + <property name="description" translatable="1">Check the spelling or try to remove filters</property> </object> </property> </object> |