[DND] Use Params for DND.makeDraggable()

Replace boolean 'manualMode' with a params object for
improved readability and future expansion.

https://bugzilla.gnome.org/show_bug.cgi?id=613367
This commit is contained in:
Owen W. Taylor
2010-03-22 15:25:43 -04:00
parent 57dd02f6ae
commit dfb110cd0f
3 changed files with 18 additions and 9 deletions

View File

@ -404,7 +404,8 @@ AppWellIcon.prototype = {
this.actor.connect('clicked', Lang.bind(this, this._onClicked));
this._menu = null;
this._draggable = DND.makeDraggable(this.actor, true);
this._draggable = DND.makeDraggable(this.actor,
{ manualMode: true });
this._dragStartX = null;
this._dragStartY = null;