[transmageddon] Fix menu population when choosing no-container
- From: Christian Fredrik Kalager Schaller <uraeus src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [transmageddon] Fix menu population when choosing no-container
- Date: Wed, 13 Apr 2011 23:16:40 +0000 (UTC)
commit 9d9ff420f46d7868cc6acc97387237fcc773887b
Author: Christian Fredrik Kalager Schaller <christian schaller collabora co uk>
Date: Thu Apr 14 00:15:17 2011 +0100
Fix menu population when choosing no-container
src/transmageddon.py | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/transmageddon.py b/src/transmageddon.py
index a0882b7..10117d5 100644
--- a/src/transmageddon.py
+++ b/src/transmageddon.py
@@ -821,8 +821,6 @@ class TransmageddonUI:
self.container=False
audio_codecs = [ 'mp3', 'AAC', 'FLAC' ]
self.audiocodecs =[]
- print "self.videonovideomenuno is " + str(self.videonovideomenuno)
- self.videorows[0].set_active(self.videonovideomenuno)
else:
audio_codecs = supported_audio_container_map[self.container]
self.audiocodecs =[]
@@ -867,12 +865,14 @@ class TransmageddonUI:
self.videorows[0].append_text(c)
self.videorows[0].set_sensitive(True)
self.videorows[0].set_active(0)
- # add a 'No Video option'
- self.videorows[0].append_text("No Video")
- self.videocodecs.append("novid")
- self.videonovideomenuno=(len(self.videocodecs))-1
self.oldvideocodec=video_codecs
- print "self.videocodecs is " + str(self.videocodecs)
+
+ # add a 'No Video option'
+ self.videorows[0].append_text("No Video")
+ self.videocodecs.append("novid")
+ self.videonovideomenuno=(len(self.videocodecs))-1
+ if self.builder.get_object("containerchoice").get_active()==12:
+ self.videorows[0].set_active(self.videonovideomenuno)
if self.discover_done == True:
self.check_for_passthrough(self.container)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]