[gnome-builder] greeter: move search filter to match updated designs
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] greeter: move search filter to match updated designs
- Date: Tue, 28 Jun 2016 00:08:39 +0000 (UTC)
commit 46c3f06fa5d4476f24090fcd3c7ecdceb50549f7
Author: Christian Hergert <chergert redhat com>
Date: Fri Jun 24 22:23:22 2016 -0700
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.
libide/greeter/ide-greeter-perspective.ui | 45 ++++++++--------------------
1 files changed, 13 insertions(+), 32 deletions(-)
---
diff --git a/libide/greeter/ide-greeter-perspective.ui b/libide/greeter/ide-greeter-perspective.ui
index 502a081..187db1e 100644
--- a/libide/greeter/ide-greeter-perspective.ui
+++ b/libide/greeter/ide-greeter-perspective.ui
@@ -8,19 +8,6 @@
<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>
<property name="visible">true</property>
@@ -57,6 +44,13 @@
<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>
<property name="spacing">6</property>
@@ -235,25 +229,6 @@
</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>
<property name="action-name">perspective.state</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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]