[pitivi] Force the play button to be visible, regardless of the gtk-button-images setting.



commit 24a13dae34de9c70bd51c39f1568454c4257dece
Author: Alessandro Decina <alessandro d gmail com>
Date:   Fri Sep 4 17:28:26 2009 +0200

    Force the play button to be visible, regardless of the gtk-button-images setting.

 pitivi/ui/viewer.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/viewer.py b/pitivi/ui/viewer.py
index 80526e4..c4f025b 100644
--- a/pitivi/ui/viewer.py
+++ b/pitivi/ui/viewer.py
@@ -493,6 +493,7 @@ class PlayPauseButton(gtk.Button, Loggable):
     def __init__(self):
         gtk.Button.__init__(self, label="")
         Loggable.__init__(self)
+        self.get_settings().props.gtk_button_images = True
         self.playing = True
         self.setPlay()
         self.connect('clicked', self._clickedCb)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]