conduit r1609 - in trunk: . conduit/gtkui
- From: jstowers svn gnome org
- To: svn-commits-list gnome org
- Subject: conduit r1609 - in trunk: . conduit/gtkui
- Date: Thu, 31 Jul 2008 13:23:20 +0000 (UTC)
Author: jstowers
Date: Thu Jul 31 13:23:20 2008
New Revision: 1609
URL: http://svn.gnome.org/viewvc/conduit?rev=1609&view=rev
Log:
Small tweak for darker themes
Modified:
trunk/ (props changed)
trunk/conduit/gtkui/Canvas.py
Modified: trunk/conduit/gtkui/Canvas.py
==============================================================================
--- trunk/conduit/gtkui/Canvas.py (original)
+++ trunk/conduit/gtkui/Canvas.py Thu Jul 31 13:23:20 2008
@@ -693,7 +693,8 @@
x=pbx,
y=pby
)
- self.name = goocanvas.Text( x=pbx + pb.get_width() + self.IMAGE_TO_TEXT_PADDING,
+ self.name = goocanvas.Text(
+ x=pbx + pb.get_width() + self.IMAGE_TO_TEXT_PADDING,
y=int(1*self.WIDGET_HEIGHT/3),
width=3*self.WIDGET_WIDTH/5,
text=self._get_model_name(),
@@ -753,12 +754,13 @@
}
elif specifier == "name":
kwargs = {
- "font":"Sans 8"
+ "font":"Sans 8",
+ "fill_color_rgba":self.get_style_color_int_rgba("text","normal")
}
elif specifier == "statusText":
kwargs = {
"font":"Sans 7",
- "fill_color_rgba":GtkUtil.TANGO_COLOR_ALUMINIUM2_MID
+ "fill_color_rgba":self.get_style_color_int_rgba("text_aa","normal")
}
return kwargs
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]