[xiph-commits] r15092 - trunk/subtle
jmesquita at svn.xiph.org
jmesquita at svn.xiph.org
Sun Jun 29 22:03:08 PDT 2008
Author: jmesquita
Date: 2008-06-29 22:03:07 -0700 (Sun, 29 Jun 2008)
New Revision: 15092
Modified:
trunk/subtle/Subtle.py
Log:
* Fixed some lines that were getting the sub text the old way instead of using the get method
Modified: trunk/subtle/Subtle.py
===================================================================
--- trunk/subtle/Subtle.py 2008-06-30 03:35:46 UTC (rev 15091)
+++ trunk/subtle/Subtle.py 2008-06-30 05:03:07 UTC (rev 15092)
@@ -600,7 +600,7 @@
if event.type == gtk.gdk._2BUTTON_PRESS and event.button == 1:
if self.player:
B=0;
- self.player.set_subtitle_text(Sub.text)
+ self.player.set_subtitle_text(Sub.getSubText())
if self.player.is_playing():
B=1
self.play_toggled()
@@ -907,13 +907,13 @@
TText = self.Subtitle.getSub(MSec)
if self.player.is_playing():
if TText:
- self.player.set_subtitle_text(TText.text)
+ self.player.set_subtitle_text( TText.getSubText() )
# Select current playing subtitle
if self.mode == ONLINE_MODE:
Selection = self.subList.get_selection()
#FIXME: This sometimes bugs ... Why??
Selection.select_path(TText.number-1)
- self.setSubtitleEdit(TText.text)
+ self.setSubtitleEdit( TText.getSubText() )
else:
self.player.set_subtitle_text('')
if self.mode == ONLINE_MODE:
More information about the commits
mailing list