Stefan Schuermans commited on 2014-01-03 21:32:55
Showing 2 changed files, with 4 additions and 4 deletions.
| ... | ... |
@@ -128,9 +128,9 @@ class StageDirector: |
| 128 | 128 |
def update(model, path, it, user_data): |
| 129 | 129 |
(idx,) = model.get(it, 0) |
| 130 | 130 |
if idx == self.stEntryIdx: |
| 131 |
- weight = Pango.WEIGHT_BOLD |
|
| 131 |
+ weight = Pango.Weight.BOLD |
|
| 132 | 132 |
else: |
| 133 |
- weight = Pango.WEIGHT_NORMAL |
|
| 133 |
+ weight = Pango.Weight.NORMAL |
|
| 134 | 134 |
model.set(it, 1, weight) |
| 135 | 135 |
self.widPlaylistStore.foreach(update, None) |
| 136 | 136 |
# playing and (no entry or stop entry) |
| ... | ... |
@@ -329,7 +329,7 @@ class StageDirector: |
| 329 | 329 |
# send sync packet |
| 330 | 330 |
if self.sock is not None: |
| 331 | 331 |
flags = 0 |
| 332 |
- if self.stPlaying: |
|
| 332 |
+ if not self.stPlaying: |
|
| 333 | 333 |
flags = flags | 1 |
| 334 | 334 |
name = self.stName |
| 335 | 335 |
pos_ms = round(self.stPosition * 1000) |
| 336 | 336 |