[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

@ -445,7 +445,8 @@ DashPlaceDisplayItem.prototype = {
this.actor._delegate = this;
this._dragStartX = null;
this._dragStartY = null;
this._draggable = DND.makeDraggable(this.actor, true);
this._draggable = DND.makeDraggable(this.actor,
{ manualMode: true });
},
_onClicked: function(b) {