Commit 46c3f06f authored by Christian Hergert's avatar Christian Hergert
Browse files

greeter: move search filter to match updated designs

See bug 767355 for more information on the design. The gist here is to
remove the "search button" from the headerbar and simply always display
the search filter when there are projects available.
parent df7cfb7f
......@@ -7,19 +7,6 @@
<property name="orientation">vertical</property>
<property name="expand">true</property>
<property name="visible">true</property>
<child>
<object class="EggSearchBar">
<property name="visible">true</property>
<property name="vexpand">false</property>
<property name="search-mode-enabled" bind-source="search_button" bind-property="active" bind-flags="bidirectional"/>
<child internal-child="entry">
<object class="GtkSearchEntry" id="search_entry">
<property name="placeholder-text"></property>
<property name="width-chars">45</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkStack" id="stack">
<property name="expand">true</property>
......@@ -56,6 +43,13 @@
<property name="spacing">32</property>
<property name="visible">true</property>
<property name="max-width-request">550</property>
<child>
<object class="GtkSearchEntry" id="search_entry">
<property name="width-chars">45</property>
<property name="halign">center</property>
<property name="visible">true</property>
</object>
</child>
<child>
<object class="GtkBox" id="my_projects_container">
<property name="orientation">vertical</property>
......@@ -234,25 +228,6 @@
<property name="pack-type">start</property>
</packing>
</child>
<child>
<object class="GtkToggleButton" id="search_button">
<property name="tooltip-text" translatable="yes">Search for projects</property>
<property name="visible">true</property>
<style>
<class name="image-button"/>
</style>
<child>
<object class="GtkImage">
<property name="icon-name">edit-find-symbolic</property>
<property name="visible">true</property>
</object>
</child>
</object>
<packing>
<property name="position">2</property>
<property name="pack-type">end</property>
</packing>
</child>
<child>
<object class="GtkToggleButton" id="selection_button">
<property name="tooltip-text" translatable="yes">Select projects for removal</property>
......@@ -315,6 +290,9 @@
<object id="other_projects_container">
<property name="visible">true</property>
</object>
<object id="search_entry">
<property name="visible">true</property>
</object>
</state>
<state name="selection">
<object id="titlebar">
......@@ -341,6 +319,9 @@
<object id="other_projects_container">
<property name="visible">false</property>
</object>
<object id="search_entry">
<property name="visible">false</property>
</object>
</state>
</states>
</object>
......
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