projects
/
watersofshiloah
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b82096f
)
Fixing a bug related to browsing while paused
author
Ed Page
<eopage@byu.net>
Wed, 19 May 2010 03:17:55 +0000
(22:17 -0500)
committer
Ed Page
<eopage@byu.net>
Wed, 19 May 2010 03:18:27 +0000
(22:18 -0500)
src/stream.py
patch
|
blob
|
history
src/windows/_base.py
patch
|
blob
|
history
diff --git
a/src/stream.py
b/src/stream.py
index
63afede
..
e9e3fb1
100644
(file)
--- a/
src/stream.py
+++ b/
src/stream.py
@@
-68,7
+68,7
@@
class GSTStream(gobject.GObject):
def set_file(self, uri):
if self._uri != file:
self._invalidate_cache()
- if self.playing:
+ if self.state != self.STATE_STOP:
self.stop()
self._uri = uri
diff --git
a/src/windows/_base.py
b/src/windows/_base.py
index
cc1134a
..
96ed2ec
100644
(file)
--- a/
src/windows/_base.py
+++ b/
src/windows/_base.py
@@
-425,9
+425,9
@@
class PresenterWindow(BasicWindow):
@misc_utils.log_exception(_moduleLogger)
def _on_player_title_change(self, player, node):
if not self._active or node in [None, self._node]:
- self._playerNode = player.node
+ self._playerNode = node
return
- self._playerNode = player.node
+ self._playerNode = node
self.emit("jump-to", node)
self._window.destroy()