[gnome-shell] lookingGlass: bring back the inspector icon



commit 5b93525ce80097fa962620d7df7418c87aabeefe
Author: Dan Winship <danw gnome org>
Date:   Fri Apr 1 12:22:32 2011 -0400

    lookingGlass: bring back the inspector icon
    
    The change to StTextureCache for bug 644142 broke lg's inspector icon,
    which was not specifying St.IconType.FULLCOLOR, but was relying on the
    fact that SYMBOLIC (the default) would fall back to it. Fix the icon
    by specifying FULLCOLOR explicitly.
    
    (We should probably be using a symbolic icon here, but there is no
    available icon with a select/pick/point-to/etc kind of meaning.)
    
    https://bugzilla.gnome.org/show_bug.cgi?id=646451

 js/ui/lookingGlass.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js
index ede95a1..2c97cc5 100644
--- a/js/ui/lookingGlass.js
+++ b/js/ui/lookingGlass.js
@@ -707,6 +707,7 @@ LookingGlass.prototype = {
         let toolbar = new St.BoxLayout({ name: 'Toolbar' });
         this.actor.add_actor(toolbar);
         let inspectIcon = new St.Icon({ icon_name: 'gtk-color-picker',
+                                        icon_type: St.IconType.FULLCOLOR,
                                         icon_size: 24 });
         toolbar.add_actor(inspectIcon);
         inspectIcon.reactive = true;



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