app-icon: Use the dash's icon size for dragged icons

As the dash is one of the primary drop targets for dragging application
launchers, it's reasonable to use the dash icon size for app icons'
drag actors, especially with the larger size now used in the application
view.

https://bugzilla.gnome.org/show_bug.cgi?id=639428
This commit is contained in:
Florian Müllner 2011-02-10 16:07:05 +01:00
parent 2f3e47b586
commit b0efe684fc

View File

@ -522,7 +522,7 @@ AppWellIcon.prototype = {
},
getDragActor: function() {
return this.app.create_icon_texture(this.icon.iconSize);
return this.app.create_icon_texture(Main.overview.dash.iconSize);
},
// Returns the original actor that should align with the actor