[gnome-shell/wip/re-search: 29/48] searchDisplay: Remove use of St.IconType
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/re-search: 29/48] searchDisplay: Remove use of St.IconType
- Date: Thu, 11 Oct 2012 22:32:12 +0000 (UTC)
commit 04baf36f5cd01f6d3bc4adccec907d23f4638a04
Author: Tanner Doshier <doshitan gmail com>
Date: Sun Oct 7 11:15:17 2012 -0500
searchDisplay: Remove use of St.IconType
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 fc6079f..f37a88f 100644
--- a/js/ui/searchDisplay.js
+++ b/js/ui/searchDisplay.js
@@ -637,9 +637,8 @@ 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,
icon_size: this.MORE_ICON_SIZE,
- icon_name: 'list-add',
+ icon_name: 'list-add-symbolic',
visible: false,
x_align: rtl ? Clutter.ActorAlign.START : Clutter.ActorAlign.END,
y_align: Clutter.ActorAlign.END,
@@ -659,8 +658,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]