[pitivi] titleeditor: Hide widgets instead of making them insensitive
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] titleeditor: Hide widgets instead of making them insensitive
- Date: Mon, 10 Sep 2012 20:46:14 +0000 (UTC)
commit 7c3e9257e42b0833b0cb79f69132ab0b31fd09f9
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date: Sun Sep 2 20:30:09 2012 -0400
titleeditor: Hide widgets instead of making them insensitive
pitivi/titleeditor.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/titleeditor.py b/pitivi/titleeditor.py
index a0227cf..b224341 100644
--- a/pitivi/titleeditor.py
+++ b/pitivi/titleeditor.py
@@ -703,11 +703,13 @@ class TitleEditor(Loggable):
def set_sensitive(self, sensitive):
if sensitive:
self.info_bar_create.hide()
- self.editing_box.set_sensitive(True)
+ self.textarea.show()
+ self.editing_box.show()
else:
self.info_bar_create.show()
self.info_bar_insert.hide()
- self.editing_box.set_sensitive(False)
+ self.textarea.hide()
+ self.editing_box.hide()
self.preview(sensitive)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]