[gnome-software] Revert "shell: frames around the app list boxes"



commit 90a68978b347aacba2db44be743b26073321ff2e
Author: Richard Hughes <richard hughsie com>
Date:   Mon Jan 11 14:20:42 2016 +0000

    Revert "shell: frames around the app list boxes"
    
    This reverts commit 28f28a3ff706870d6921f566249c0cb48c6d1912.

 src/gs-shell-extras.ui    |   14 ++++++++------
 src/gs-shell-installed.ui |   16 +++-------------
 src/gs-shell-search.ui    |   13 +++----------
 src/gs-shell-updates.ui   |   14 ++++++++------
 src/gtk-style-hc.css      |    4 ----
 src/gtk-style.css         |    4 ----
 6 files changed, 22 insertions(+), 43 deletions(-)
---
diff --git a/src/gs-shell-extras.ui b/src/gs-shell-extras.ui
index b0be8c1..cf283ed 100644
--- a/src/gs-shell-extras.ui
+++ b/src/gs-shell-extras.ui
@@ -53,13 +53,9 @@
                 <property name="visible">True</property>
                 <property name="preferred-width">860</property>
                 <child>
-                  <object class="GtkFrame" id="list_box_results_box">
+                  <object class="GtkBox" id="box_results">
                     <property name="visible">True</property>
-                    <property name="shadow_type">in</property>
-                    <property name="valign">start</property>
-                    <style>
-                      <class name="top-aligned-frame"/>
-                    </style>
+                    <property name="orientation">vertical</property>
                     <child>
                       <object class="GtkListBox" id="list_box_results">
                         <property name="visible">True</property>
@@ -67,6 +63,12 @@
                         <property name="selection_mode">none</property>
                       </object>
                     </child>
+                    <child>
+                      <object class="GtkSeparator" id="separator_results">
+                        <property name="visible">True</property>
+                        <property name="orientation">horizontal</property>
+                      </object>
+                    </child>
                   </object>
                 </child>
               </object>
diff --git a/src/gs-shell-installed.ui b/src/gs-shell-installed.ui
index 37771ea..3998c1c 100644
--- a/src/gs-shell-installed.ui
+++ b/src/gs-shell-installed.ui
@@ -44,20 +44,10 @@
                     <property name="visible">True</property>
                     <property name="preferred-width">860</property>
                     <child>
-                      <object class="GtkFrame" id="list_box_frame">
+                      <object class="GtkListBox" id="list_box_install">
                         <property name="visible">True</property>
-                        <property name="shadow_type">in</property>
-                        <property name="valign">start</property>
-                        <style>
-                          <class name="top-aligned-frame"/>
-                        </style>
-                        <child>
-                          <object class="GtkListBox" id="list_box_install">
-                            <property name="visible">True</property>
-                            <property name="can_focus">True</property>
-                            <property name="selection_mode">none</property>
-                          </object>
-                        </child>
+                        <property name="can_focus">True</property>
+                        <property name="selection_mode">none</property>
                       </object>
                     </child>
                   </object>
diff --git a/src/gs-shell-search.ui b/src/gs-shell-search.ui
index 18af049..77e2267 100644
--- a/src/gs-shell-search.ui
+++ b/src/gs-shell-search.ui
@@ -84,17 +84,10 @@
                 <property name="preferred-width">860</property>
                 <property name="valign">start</property>
                 <child>
-                  <object class="GtkFrame" id="list_box_frame">
+                  <object class="GtkListBox" id="list_box_search">
                     <property name="visible">True</property>
-                    <property name="shadow_type">in</property>
-                    <property name="valign">start</property>
-                    <child>
-                      <object class="GtkListBox" id="list_box_search">
-                        <property name="visible">True</property>
-                        <property name="can_focus">True</property>
-                        <property name="selection_mode">none</property>
-                      </object>
-                    </child>
+                    <property name="can_focus">True</property>
+                    <property name="selection_mode">none</property>
                   </object>
                 </child>
               </object>
diff --git a/src/gs-shell-updates.ui b/src/gs-shell-updates.ui
index 21b27df..093e162 100644
--- a/src/gs-shell-updates.ui
+++ b/src/gs-shell-updates.ui
@@ -64,13 +64,9 @@
                 <property name="visible">True</property>
                 <property name="preferred-width">860</property>
                 <child>
-                  <object class="GtkFrame" id="list_box_updates_box">
+                  <object class="GtkBox" id="list_box_updates_box">
                     <property name="visible">True</property>
-                    <property name="shadow_type">in</property>
-                    <property name="valign">start</property>
-                    <style>
-                      <class name="top-aligned-frame"/>
-                    </style>
+                    <property name="orientation">vertical</property>
                     <child>
                       <object class="GsUpdateList" id="list_box_updates">
                         <property name="visible">True</property>
@@ -78,6 +74,12 @@
                         <property name="selection_mode">none</property>
                       </object>
                     </child>
+                    <child>
+                      <object class="GtkSeparator" id="list_box_updates_separator">
+                        <property name="visible">True</property>
+                        <property name="orientation">horizontal</property>
+                      </object>
+                    </child>
                   </object>
                 </child>
               </object>
diff --git a/src/gtk-style-hc.css b/src/gtk-style-hc.css
index 29b37a0..318185b 100644
--- a/src/gtk-style-hc.css
+++ b/src/gtk-style-hc.css
@@ -200,7 +200,3 @@ button.star, .button.star {
        font-size: 90%;
        padding: 16px
 }
-
-.top-aligned-frame {
-       border-top-style: none;
-}
diff --git a/src/gtk-style.css b/src/gtk-style.css
index abb2d59..94c4ea3 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -204,7 +204,3 @@ button.star, .button.star {
        font-size: 90%;
        padding: 16px
 }
-
-.top-aligned-frame {
-       border-top-style: none;
-}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]