[gnome-software] Never draw a background on the star widget



commit 7ff81ac90a2acb150ab4e2d4f486d20c5fc9c049
Author: Richard Hughes <richard hughsie com>
Date:   Thu Dec 19 11:18:52 2013 +0000

    Never draw a background on the star widget

 src/gs-star-widget.ui |    3 +++
 src/gtk-style.css     |    5 +++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-star-widget.ui b/src/gs-star-widget.ui
index 66871e2..ca5fe25 100644
--- a/src/gs-star-widget.ui
+++ b/src/gs-star-widget.ui
@@ -10,6 +10,9 @@
         <property name="halign">center</property>
         <property name="valign">center</property>
         <property name="spacing">1</property>
+        <style>
+          <class name="star"/>
+        </style>
         <child>
           <object class="GtkButton" id="button1">
             <property name="visible">True</property>
diff --git a/src/gtk-style.css b/src/gtk-style.css
index 7ecd8c7..f95adb1 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -81,6 +81,11 @@ GtkNotebook.main-notebook-software > GtkScrolledWindow {
        background-color: transparent;
 }
 
+GtkBox.star {
+       background-color: transparent;
+       background-image: none;
+}
+
 .button.star {
        -GtkWidget-focus-padding: 0;
        background-color: transparent;


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