[gnome-shell/wip/re-search: 16/16] searchDisplay: Remove St.IconType usage



commit 6800d1f517fcecf4d251b1d9b3ed3efe29e986ed
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Oct 8 17:55:55 2012 -0300

    searchDisplay: Remove St.IconType usage
    
    boop

 js/ui/searchDisplay.js |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js
index 50087ac..2153205 100644
--- a/js/ui/searchDisplay.js
+++ b/js/ui/searchDisplay.js
@@ -635,8 +635,7 @@ const ProviderIcon = new Lang.Class({
 
         let rtl = (this.actor.get_text_direction() == Clutter.TextDirection.RTL);
 
-        this.moreIcon = new St.Icon({ style_class: 'search-section-icon-more',
-                                      icon_type: St.IconType.SYMBOLIC,
+        this.moreIcon = new St.Icon({ style_class: 'search-section-icon-more-symbolic',
                                       icon_size: this.MORE_ICON_SIZE,
                                       icon_name: 'list-add',
                                       visible: false,
@@ -658,8 +657,7 @@ const ProviderIcon = new Lang.Class({
     },
 
     _createProviderIcon: function() {
-        let icon = new St.Icon({ icon_type: St.IconType.FULLCOLOR,
-                                 icon_size: this.PROVIDER_ICON_SIZE });
+        let icon = new St.Icon({ icon_size: this.PROVIDER_ICON_SIZE });
 
         if (this.provider.icon)
             icon.gicon = this.provider.icon;



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