[pitivi: 6/10] ui/timeline: mark as selected the clip loaded to the timeline.



commit b7b164c8b792187a3d5330639c66d8e2950ed26a
Author: Luis de Bethencourt <luis debethencourt com>
Date:   Thu Sep 23 16:30:18 2010 +0200

    ui/timeline: mark as selected the clip loaded to the timeline.

 pitivi/ui/timeline.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/timeline.py b/pitivi/ui/timeline.py
index 53a7e7a..113f5e9 100644
--- a/pitivi/ui/timeline.py
+++ b/pitivi/ui/timeline.py
@@ -451,6 +451,7 @@ class Timeline(gtk.Table, Loggable, Zoomable):
             self.timeline.disableUpdates()
 
             self._add_temp_source()
+            self.timeline.selection.setSelection(self._temp_objects, SELECT)
             focus = self._temp_objects[0]
             self._move_context = MoveContext(self.timeline,
                                              focus, set(self._temp_objects[1:]))



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