search-display: Fix getDragActorSource()/getDragActor()
The 'icon' property in search results' meta info has been replaced by a 'createIcon' property, adjust to this change. https://bugzilla.gnome.org/show_bug.cgi?id=645990
This commit is contained in:
parent
9396d736f2
commit
429f809b71
@ -77,11 +77,12 @@ SearchResult.prototype = {
|
||||
},
|
||||
|
||||
getDragActorSource: function() {
|
||||
return this.metaInfo['icon'];
|
||||
// not exactly right, but alignment problems are hard to notice
|
||||
return this._content;
|
||||
},
|
||||
|
||||
getDragActor: function(stageX, stageY) {
|
||||
return new Clutter.Clone({ source: this.metaInfo['icon'] });
|
||||
return this.metaInfo['createIcon'](Main.overview.dash.iconSize);
|
||||
},
|
||||
|
||||
shellWorkspaceLaunch: function(params) {
|
||||
|
Loading…
Reference in New Issue
Block a user