[gnome-shell] app-icon: Use the dash's icon size for dragged icons



commit b0efe684fc7e9c07033ca50d95705241119f1eb1
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Feb 10 16:07:05 2011 +0100

    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

 js/ui/appDisplay.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index a723cea..cd51aab 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]