Stefan Schuermans commited on 2013-11-23 20:04:23
Showing 5 changed files, with 22 additions and 2 deletions.
... | ... |
@@ -301,7 +301,7 @@ |
301 | 301 |
</packing> |
302 | 302 |
</child> |
303 | 303 |
<child> |
304 |
- <object class="GtkImage" id="Logo"> |
|
304 |
+ <object class="GtkImage" id="LogoO"> |
|
305 | 305 |
<property name="visible">True</property> |
306 | 306 |
<property name="can_focus">False</property> |
307 | 307 |
<property name="tooltip_text" translatable="yes">BlinkenArea Sync GUI |
... | ... |
@@ -309,7 +309,7 @@ version 0.1.0 date 2013-11-23 |
309 | 309 |
Copyright 2013 Stefan Schuermans <stefan@blinkenarea.org> |
310 | 310 |
Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html |
311 | 311 |
a blinkenarea.org project - https://www.blinkenarea.org/</property> |
312 |
- <property name="pixbuf">logo.png</property> |
|
312 |
+ <property name="pixbuf">logo_o.png</property> |
|
313 | 313 |
</object> |
314 | 314 |
<packing> |
315 | 315 |
<property name="expand">False</property> |
... | ... |
@@ -317,6 +317,22 @@ a blinkenarea.org project - https://www.blinkenarea.org/</property> |
317 | 317 |
<property name="position">1</property> |
318 | 318 |
</packing> |
319 | 319 |
</child> |
320 |
+ <child> |
|
321 |
+ <object class="GtkImage" id="LogoG"> |
|
322 |
+ <property name="can_focus">False</property> |
|
323 |
+ <property name="tooltip_text" translatable="yes">BlinkenArea Sync GUI |
|
324 |
+version 0.1.0 date 2013-11-23 |
|
325 |
+Copyright 2013 Stefan Schuermans <stefan@blinkenarea.org> |
|
326 |
+Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html |
|
327 |
+a blinkenarea.org project - https://www.blinkenarea.org/</property> |
|
328 |
+ <property name="pixbuf">logo_g.png</property> |
|
329 |
+ </object> |
|
330 |
+ <packing> |
|
331 |
+ <property name="expand">False</property> |
|
332 |
+ <property name="fill">False</property> |
|
333 |
+ <property name="position">2</property> |
|
334 |
+ </packing> |
|
335 |
+ </child> |
|
320 | 336 |
</object> |
321 | 337 |
<packing> |
322 | 338 |
<property name="expand">False</property> |
... | ... |
@@ -33,6 +33,8 @@ class SyncGui: |
33 | 33 |
self.widPositionRemaining = self.builder.get_object("PositionRemaining") |
34 | 34 |
self.widBtnPause = self.builder.get_object("Pause") |
35 | 35 |
self.widBtnPlay = self.builder.get_object("Play") |
36 |
+ self.widLogoO = self.builder.get_object("LogoO") |
|
37 |
+ self.widLogoG = self.builder.get_object("LogoG") |
|
36 | 38 |
handlers = { |
37 | 39 |
"onDestroy": self.onDestroy, |
38 | 40 |
"onFileOpen": self.onFileOpen, |
... | ... |
@@ -135,6 +137,8 @@ class SyncGui: |
135 | 137 |
"""update the visibility of the buttons based on if playing or not""" |
136 | 138 |
self.widBtnPause.set_visible(self.stPlaying) |
137 | 139 |
self.widBtnPlay.set_visible(not self.stPlaying) |
140 |
+ self.widLogoO.set_visible(not self.stPlaying) |
|
141 |
+ self.widLogoG.set_visible(self.stPlaying) |
|
138 | 142 |
|
139 | 143 |
def onDestroy(self, widget): |
140 | 144 |
"""window will be destroyed""" |
141 | 145 |