[pitivi: 22/27] viewer: Disconnect ui/timeline:deleteObj event when timecode_entry is focused
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 22/27] viewer: Disconnect ui/timeline:deleteObj event when timecode_entry is focused
- Date: Wed, 11 May 2011 14:07:02 +0000 (UTC)
commit 62713ad06316a3779c643cea11b1d3f1cd6fe9dc
Author: Thibault Saunier <thibault saunier collabora co uk>
Date: Wed Jan 19 16:40:18 2011 +0100
viewer: Disconnect ui/timeline:deleteObj event when timecode_entry is focused
pitivi/ui/viewer.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/viewer.py b/pitivi/ui/viewer.py
index 4dc0f8b..886f66e 100644
--- a/pitivi/ui/viewer.py
+++ b/pitivi/ui/viewer.py
@@ -395,10 +395,12 @@ class PitiviViewer(gtk.VBox, Loggable):
def _entryFocusInCb(self, entry, event):
sensitive_actions = self.app.gui.sensitive_actions
self.app.gui.setActionsSensitive(sensitive_actions, False)
+ self.app.gui.setActionsSensitive(['DeleteObj'], False)
def _entryFocusOutCb(self, entry, event):
sensitive_actions = self.app.gui.sensitive_actions
self.app.gui.setActionsSensitive(sensitive_actions, True)
+ self.app.gui.setActionsSensitive(['DeleteObj'], True)
def _sliderButtonPressCb(self, slider, event):
# borrow totem hack for seek-on-click behavior
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]