search: Fix custom drag actor source
The existing code broke when commit 792b963bda8c changed the custom result actor hook to return an object instead of an actor - stop trying to go through a _delegate to make it work again.
This commit is contained in:
parent
d54efe0838
commit
d5aa276c41
@ -243,8 +243,8 @@ const GridSearchResult = new Lang.Class({
|
|||||||
dragSource = icon.icon;
|
dragSource = icon.icon;
|
||||||
content = { actor: actor, icon: icon };
|
content = { actor: actor, icon: icon };
|
||||||
} else {
|
} else {
|
||||||
if (content._delegate && content._delegate.getDragActorSource)
|
if (content.getDragActorSource)
|
||||||
dragSource = content._delegate.getDragActorSource();
|
dragSource = content.getDragActorSource();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.actor.set_child(content.actor);
|
this.actor.set_child(content.actor);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user