[gnome-software] Make symbolic icons dim



commit 1f762937443336b042ddb3ac98b4560c9e8d7988
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Sep 4 23:09:47 2013 -0400

    Make symbolic icons dim
    
    For some reason, the dim-label class doesn't ont apply to the
    symbolic icons in the 'no search results' and 'all updates ok'
    pages. Set opacity to 0.55 to work around.

 src/gnome-software.ui |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/src/gnome-software.ui b/src/gnome-software.ui
index 6715108..e9b0fd0 100644
--- a/src/gnome-software.ui
+++ b/src/gnome-software.ui
@@ -524,14 +524,15 @@
                     <property name="valign">center</property>
                     <property name="row-spacing">12</property>
                     <property name="column-spacing">12</property>
+                    <style>
+                      <class name="dim-label"/>
+                    </style>
                     <child>
                       <object class="GtkImage" id="noresults_icon">
                         <property name="visible">True</property>
                         <property name="icon-name">emblem-documents-symbolic</property>
                         <property name="pixel-size">64</property>
-                        <style>
-                          <class name="dim-label"/>
-                        </style>
+                        <property name="opacity">0.55</property>
                       </object>
                       <packing>
                         <property name="left-attach">0</property>
@@ -544,9 +545,6 @@
                         <property name="label" translatable="yes">No Application Found</property>
                         <property name="halign">start</property>
                         <property name="valign">center</property>
-                        <style>
-                          <class name="dim-label"/>
-                        </style>
                         <attributes>
                           <attribute name="scale" value="1.4"/>
                         </attributes>
@@ -640,15 +638,16 @@
                     <property name="valign">center</property>
                     <property name="hexpand">True</property>
                     <property name="vexpand">True</property>
+                    <property name="opacity">0.55</property>
+                    <style>
+                      <class name="dim-label"/>
+                    </style>
                     <child>
                       <object class="GtkImage" id="image_updates">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
                         <property name="pixel_size">128</property>
                         <property name="icon_name">object-select-symbolic</property>
-                        <style>
-                          <class name="dim-label"/>
-                        </style>
                       </object>
                     </child>
                     <child>


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