conduit r1611 - in trunk: . conduit/gtkui



Author: jstowers
Date: Thu Jul 31 13:24:16 2008
New Revision: 1611
URL: http://svn.gnome.org/viewvc/conduit?rev=1611&view=rev

Log:
	* NEWS:
	* conduit/gtkui/Canvas.py: Tweak the line widths and color.


Modified:
   trunk/   (props changed)
   trunk/ChangeLog
   trunk/NEWS
   trunk/conduit/gtkui/Canvas.py

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Thu Jul 31 13:24:16 2008
@@ -6,6 +6,7 @@
   architectural improvements.
 * Conflict inprovements. Duplicate conflicts should no longer be shown
   in the UI.
+* The UI should will now reuse your theme colors
 
 NEW in 0.3.12:
 ==============

Modified: trunk/conduit/gtkui/Canvas.py
==============================================================================
--- trunk/conduit/gtkui/Canvas.py	(original)
+++ trunk/conduit/gtkui/Canvas.py	Thu Jul 31 13:24:16 2008
@@ -24,9 +24,9 @@
 log.info("Module Information: %s" % Utils.get_module_information(goocanvas, "pygoocanvas_version"))
 
 #Style elements common to ConduitCanvasItem and DPCanvasItem
-SIDE_PADDING = 10.0
-LINE_WIDTH = 3.0
-RECTANGLE_RADIUS = 5.0
+SIDE_PADDING =      10.0
+LINE_WIDTH =        2.0
+RECTANGLE_RADIUS =  4.0
 
 class _StyleMixin:
 
@@ -967,7 +967,7 @@
 
     def get_style_properties(self, specifier):
         if specifier == "boundingBox":
-            pattern = cairo.LinearGradient(-30, -30, 0, 100)
+            pattern = cairo.LinearGradient(0, -30, 0, 100)
             pattern.add_color_stop_rgb(
                                     0,
                                     *self.get_style_color_rgb("dark","selected")



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