conduit r1615 - in trunk: . conduit/gtkui
- From: jstowers svn gnome org
- To: svn-commits-list gnome org
- Subject: conduit r1615 - in trunk: . conduit/gtkui
- Date: Fri, 1 Aug 2008 14:52:07 +0000 (UTC)
Author: jstowers
Date: Fri Aug 1 14:52:07 2008
New Revision: 1615
URL: http://svn.gnome.org/viewvc/conduit?rev=1615&view=rev
Log:
* conduit/gtkui/Canvas.py:
* conduit/hildonui/Canvas.py: Use Class properties for common
drawing properties. Hildon fixes.
Modified:
trunk/ (props changed)
trunk/ChangeLog
trunk/conduit/gtkui/Canvas.py
Modified: trunk/conduit/gtkui/Canvas.py
==============================================================================
--- trunk/conduit/gtkui/Canvas.py (original)
+++ trunk/conduit/gtkui/Canvas.py Fri Aug 1 14:52:07 2008
@@ -109,7 +109,9 @@
#this little piece of magic re-applies style properties to the
#widgets, when the users theme changes
- self.get_canvas().connect("style-set", self._automatic_style_updater)
+ canv = self.get_canvas()
+ if canv:
+ canv.connect("style-set", self._automatic_style_updater)
def _automatic_style_updater(self, *args):
if not self.get_gtk_style():
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]