[pitivi] timeline: Remove broken drag&drop highlighting



commit 74c0c6845ca95086fbd9ed7f70fb1043e231a903
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Mon Jun 29 10:01:22 2015 +0200

    timeline: Remove broken drag&drop highlighting
    
    Broken because once the timeline is highlighted it remains like that.
    Removed and not fixed because the highlighting is a black 1px border
    which looks bad.

 pitivi/timeline/timeline.py |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index fa6f717..ad926cb 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -664,7 +664,6 @@ class Timeline(Gtk.EventBox, Zoomable, Loggable):
     # drag and drop
     def __setUpDragAndDrop(self):
         self.got_dragged = False
-        self.dropHighlight = False
         self.dropDataReady = False
         self.dropData = None
         self._createdClips = False
@@ -734,11 +733,7 @@ class Timeline(Gtk.EventBox, Zoomable, Loggable):
         else:
             if not self.__createClips(x, y):
                 self.__dragUpdate(self, x, y)
-
             Gdk.drag_status(context, Gdk.DragAction.COPY, timestamp)
-            if not self.dropHighlight:
-                self.drag_highlight()
-                self.dropHighlight = True
         return True
 
     def __dragLeaveCb(self, unused_widget, unused_context, unused_timestamp):


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