[pitivi] Select layer when focusing the entry
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Select layer when focusing the entry
- Date: Sat, 21 Jul 2012 20:00:27 +0000 (UTC)
commit 82c98b4c8ffa9c2040be34cf58c1b5b25d7e40ea
Author: Paul Lange <palango gmx de>
Date: Wed Jul 4 20:29:39 2012 +0200
Select layer when focusing the entry
pitivi/timeline/layer.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/timeline/layer.py b/pitivi/timeline/layer.py
index 665a89a..2949f7a 100644
--- a/pitivi/timeline/layer.py
+++ b/pitivi/timeline/layer.py
@@ -79,6 +79,7 @@ class BaseLayerControl(gtk.EventBox, Loggable):
self.name_entry.set_property("primary-icon-name", icon_mapping[layer_type])
self.name_entry.connect("focus-in-event", self._focusChangeCb, False)
self.name_entry.connect("focus-out-event", self._focusChangeCb, True)
+ self.name_entry.connect("button_press_event", self._selectedCb)
self.name_entry.props.sensitive = False
# 'Solo' toggle button
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]