[transmageddon] add patch from Frederik Elwert fixing bug 634361



commit 52e5dad35271b2b50e5ce0363ea01785b573cb0d
Author: Christian Fredrik Kalager Schaller <christian schaller collabora co uk>
Date:   Mon May 30 12:04:38 2011 +0100

    add patch from Frederik Elwert fixing bug 634361

 AUTHORS              |    1 +
 src/transmageddon.py |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/AUTHORS b/AUTHORS
index 1064ae0..1833444 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -14,6 +14,7 @@ Arun Raghavan <arunsr gnome org>
 Laszly Pandy <laszlok2 gmail com>
 Claude Paroz <claude 2xlibre net>
 Javier Jardón <jjardon gnome org>
+Frederik Elwert <frederik elwert web de>
 
 Translations:
 Å?ukasz JernaÅ? <deejay1 srem org>
diff --git a/src/transmageddon.py b/src/transmageddon.py
index c68a458..cff0645 100644
--- a/src/transmageddon.py
+++ b/src/transmageddon.py
@@ -578,7 +578,7 @@ class TransmageddonUI:
        uri = urlparse (FileChosen)
        path = uri.path
        # print path
-       return self.discover(path)
+       self.discover(path)
    
    def check_for_passthrough(self, containerchoice):
        videointersect = ("EMPTY")
@@ -622,7 +622,7 @@ class TransmageddonUI:
        self.filename = self.builder.get_object ("FileChooser").get_filename()
        self.audiodata = {}
        if self.filename is not None: 
-           codecinfo = self.mediacheck(self.filename)
+           self.mediacheck(self.filename)
            self.ProgressBar.set_fraction(0.0)
            self.ProgressBar.set_text(_("Transcoding Progress"))
            if (self.havevideo==False and self.nocontaineroptiontoggle==False):
@@ -900,7 +900,7 @@ class TransmageddonUI:
    def on_presetchoice_changed(self, widget):
        presetchoice = self.builder.get_object ("presetchoice").get_active_text ()
        self.ProgressBar.set_fraction(0.0)
-       if presetchoice == "No Presets":
+       if presetchoice == _("No Presets"):
            print "no presets chosen"
            self.usingpreset=False
            self.devicename = "nopreset"



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