Stefan Schuermans commited on 2013-11-23 18:53:39
Showing 5 changed files, with 23 additions and 15 deletions.
... | ... |
@@ -1,5 +1,11 @@ |
1 | 1 |
#! /usr/bin/env python |
2 | 2 |
|
3 |
+# BlinkenArea Sync GUI |
|
4 |
+# version 0.1.0 date 2013-11-23 |
|
5 |
+# Copyright 2013 Stefan Schuermans <stefan@blinkenarea.org> |
|
6 |
+# Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html |
|
7 |
+# a blinkenarea.org project - https://www.blinkenarea.org/ |
|
8 |
+ |
|
3 | 9 |
import re |
4 | 10 |
import pango |
5 | 11 |
|
... | ... |
@@ -304,6 +304,11 @@ |
304 | 304 |
<object class="GtkImage" id="Logo"> |
305 | 305 |
<property name="visible">True</property> |
306 | 306 |
<property name="can_focus">False</property> |
307 |
+ <property name="tooltip_text" translatable="yes">BlinkenArea Sync GUI |
|
308 |
+version 0.1.0 date 2013-11-23 |
|
309 |
+Copyright 2013 Stefan Schuermans <stefan@blinkenarea.org> |
|
310 |
+Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html |
|
311 |
+a blinkenarea.org project - https://www.blinkenarea.org/</property> |
|
307 | 312 |
<property name="pixbuf">logo.png</property> |
308 | 313 |
</object> |
309 | 314 |
<packing> |
... | ... |
@@ -319,19 +324,6 @@ |
319 | 324 |
<property name="position">3</property> |
320 | 325 |
</packing> |
321 | 326 |
</child> |
322 |
- <child> |
|
323 |
- <object class="GtkStatusbar" id="Status"> |
|
324 |
- <property name="visible">True</property> |
|
325 |
- <property name="can_focus">False</property> |
|
326 |
- <property name="orientation">vertical</property> |
|
327 |
- <property name="spacing">2</property> |
|
328 |
- </object> |
|
329 |
- <packing> |
|
330 |
- <property name="expand">False</property> |
|
331 |
- <property name="fill">True</property> |
|
332 |
- <property name="position">4</property> |
|
333 |
- </packing> |
|
334 |
- </child> |
|
335 | 327 |
</object> |
336 | 328 |
</child> |
337 | 329 |
</object> |
... | ... |
@@ -1,5 +1,11 @@ |
1 | 1 |
#! /usr/bin/env python |
2 | 2 |
|
3 |
+# BlinkenArea Sync GUI |
|
4 |
+# version 0.1.0 date 2013-11-23 |
|
5 |
+# Copyright 2013 Stefan Schuermans <stefan@blinkenarea.org> |
|
6 |
+# Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html |
|
7 |
+# a blinkenarea.org project - https://www.blinkenarea.org/ |
|
8 |
+ |
|
3 | 9 |
import os |
4 | 10 |
from gi.repository import Gtk |
5 | 11 |
import gobject |
... | ... |
@@ -27,7 +33,6 @@ class SyncGui: |
27 | 33 |
self.widPositionRemaining = self.builder.get_object("PositionRemaining") |
28 | 34 |
self.widBtnPause = self.builder.get_object("Pause") |
29 | 35 |
self.widBtnPlay = self.builder.get_object("Play") |
30 |
- self.widStatus = self.builder.get_object("Status") |
|
31 | 36 |
handlers = { |
32 | 37 |
"onDestroy": self.onDestroy, |
33 | 38 |
"onFileOpen": self.onFileOpen, |
... | ... |
@@ -45,7 +50,6 @@ class SyncGui: |
45 | 50 |
if len(sys.argv) >= 2: # load initial playlist from command line |
46 | 51 |
self.playlist.read(sys.argv[1]) |
47 | 52 |
self.playlist.update(self.widPlaylistStore) |
48 |
- self.widStatus.push(0, "TODO...") |
|
49 | 53 |
self.stEntryIdx = -1 # no entry selected |
50 | 54 |
self.stName = "" # no current entry name |
51 | 55 |
self.stDuration = 0 # current entry has zero size |
... | ... |
@@ -1,5 +1,11 @@ |
1 | 1 |
#! /usr/bin/env python |
2 | 2 |
|
3 |
+# BlinkenArea Sync GUI |
|
4 |
+# version 0.1.0 date 2013-11-23 |
|
5 |
+# Copyright 2013 Stefan Schuermans <stefan@blinkenarea.org> |
|
6 |
+# Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html |
|
7 |
+# a blinkenarea.org project - https://www.blinkenarea.org/ |
|
8 |
+ |
|
3 | 9 |
"""time format converter |
4 | 10 |
|
5 | 11 |
converts between time in seconds as floating point value and time as |
6 | 12 |