Commit 78903cd4 authored by Adrien Plazas's avatar Adrien Plazas Committed by Alexander Mikhaylenko
Browse files

preferences-window: Use HdyStatusPage for the empty search

This makes the code simpler and UIs look more cohesive.
parent b65f83a3
Pipeline #239852 passed with stages
in 15 minutes and 35 seconds
......@@ -162,72 +162,11 @@
</packing>
</child>
<child>
<object class="GtkScrolledWindow">
<property name="can_focus">False</property>
<property name="expand">True</property>
<property name="hscrollbar_policy">never</property>
<object class="HdyStatusPage">
<property name="visible">True</property>
<child>
<object class="GtkBox">
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="orientation">vertical</property>
<property name="valign">center</property>
<property name="vexpand">True</property>
<property name="visible">True</property>
<child>
<object class="GtkImage">
<property name="can_focus">False</property>
<property name="icon_name">edit-find-symbolic</property>
<property name="icon_size">0</property>
<property name="margin_bottom">18</property>
<property name="pixel_size">128</property>
<property name="valign">center</property>
<property name="visible">True</property>
<style>
<class name="dim-label"/>
</style>
</object>
</child>
<child>
<object class="GtkBox">
<property name="can_focus">False</property>
<property name="margin_end">12</property>
<property name="margin_start">12</property>
<property name="orientation">vertical</property>
<property name="visible">True</property>
<child>
<object class="GtkLabel">
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="justify">center</property>
<property name="label" translatable="yes">No Results Found</property>
<property name="margin_bottom">12</property>
<property name="opacity">0.5</property>
<property name="visible">True</property>
<property name="wrap">True</property>
<attributes>
<attribute name="scale" value="2"/>
<attribute name="weight" value="bold"/>
</attributes>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="can_focus">False</property>
<property name="justify">center</property>
<property name="label" translatable="yes">Try a different search</property>
<property name="margin_bottom">6</property>
<property name="opacity">0.5</property>
<property name="use_markup">True</property>
<property name="visible">True</property>
<property name="wrap">True</property>
</object>
</child>
</object>
</child>
</object>
</child>
<property name="icon-name">edit-find-symbolic</property>
<property name="title" translatable="yes">No Results Found</property>
<property name="description" translatable="yes">Try a different search.</property>
</object>
<packing>
<property name="name">no-results</property>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment