[gnome-shell/gnome-3-8] dash: Minor cleanup



commit 1ad1e48741cd1b11943b06a437b45017061197de
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Jun 5 14:51:41 2013 +0200

    dash: Minor cleanup
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684618

 js/ui/dash.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/dash.js b/js/ui/dash.js
index 2f78338..554e7db 100644
--- a/js/ui/dash.js
+++ b/js/ui/dash.js
@@ -864,9 +864,9 @@ const Dash = new Lang.Class({
 
         // Remove the drag placeholder if we are not in the
         // "favorites zone"
-        if (pos > numFavorites && this._dragPlaceholder) {
+        if (pos > numFavorites)
             this._clearDragPlaceholder();
-        }
+
         if (!this._dragPlaceholder)
             return DND.DragMotionResult.NO_DROP;
 


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