[gnome-boxes] ui: Drop redundant use of "content-bg" custom theme



commit 55a6c15b8eefb043077f23f4fb47b97c11942978
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Mon Jun 29 16:50:55 2015 +0100

    ui: Drop redundant use of "content-bg" custom theme
    
    Don't overuse custom "content-bg". In case of main/collection view, use
    of this theme breaks the transparent theming of underflow and overflow
    indicators.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=747859

 data/ui/display-page.ui         |    3 ---
 data/ui/empty-boxes.ui          |    6 ------
 src/collection-view.vala        |    1 -
 src/properties-page-widget.vala |    1 -
 4 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/data/ui/display-page.ui b/data/ui/display-page.ui
index dd7e5fe..24da3be 100644
--- a/data/ui/display-page.ui
+++ b/data/ui/display-page.ui
@@ -38,9 +38,6 @@
               <object class="GtkLabel" id="size_label">
                 <property name="halign">center</property>
                 <property name="valign">center</property>
-                <style>
-                  <class name="content-bg"/>
-                </style>
               </object>
             </child>
 
diff --git a/data/ui/empty-boxes.ui b/data/ui/empty-boxes.ui
index f11febe..88ba1fc 100644
--- a/data/ui/empty-boxes.ui
+++ b/data/ui/empty-boxes.ui
@@ -17,9 +17,6 @@
         <property name="vexpand">True</property>
         <property name="halign">fill</property>
         <property name="valign">fill</property>
-        <style>
-          <class name="content-bg"/>
-        </style>
 
         <child>
           <object class="GtkSpinner" id="spinner">
@@ -43,9 +40,6 @@
         <property name="vexpand">True</property>
         <property name="halign">fill</property>
         <property name="valign">fill</property>
-        <style>
-          <class name="content-bg"/>
-        </style>
 
         <child>
           <object class="GtkGrid" id="grid">
diff --git a/src/collection-view.vala b/src/collection-view.vala
index 9cd37b7..823c5ba 100644
--- a/src/collection-view.vala
+++ b/src/collection-view.vala
@@ -373,7 +373,6 @@ private class Boxes.CollectionView: Gd.MainView, Boxes.UI {
 
         set_view_type (Gd.MainViewType.ICON);
         set_model (model_filter);
-        get_style_context ().add_class ("content-bg");
         item_activated.connect ((view, id, path) => {
             var item = get_item_for_path (path);
             if (item is LibvirtMachine && (item as LibvirtMachine).importing)
diff --git a/src/properties-page-widget.vala b/src/properties-page-widget.vala
index ee47873..42a66e1 100644
--- a/src/properties-page-widget.vala
+++ b/src/properties-page-widget.vala
@@ -28,7 +28,6 @@ private class Boxes.PropertiesPageWidget: Gtk.Box {
             break;
         }
 
-        get_style_context ().add_class ("content-bg");
         get_style_context ().add_class ("transparent-bg");
 
         grid = new Gtk.Grid ();


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