Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/graphics/frame.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-02-15 17:48:58 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-02-15 17:48:58 (GMT)
commit2e8bd12f8bcf9da314d853078ee29f35a381c537 (patch)
tree3f0922b2484b1a3d9194919fccdb69b5bee587a6 /sugar/graphics/frame.py
parent32c89a1fcb7a536455343b87dc799b800da66380 (diff)
Rework color and fonts to be more pytonish. Add units conversions.
Diffstat (limited to 'sugar/graphics/frame.py')
-rw-r--r--sugar/graphics/frame.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sugar/graphics/frame.py b/sugar/graphics/frame.py
index 16ad76c..4b800fd 100644
--- a/sugar/graphics/frame.py
+++ b/sugar/graphics/frame.py
@@ -15,7 +15,7 @@
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
-from sugar.graphics.style import Color
+from sugar.graphics import color
from sugar.graphics.roundbox import RoundBox
class Frame(RoundBox):
@@ -23,4 +23,4 @@ class Frame(RoundBox):
def __init__(self, **kwargs):
RoundBox.__init__(self, **kwargs)
- self.props.border_color = Color.FRAME_BORDER.get_int()
+ self.props.border_color = color.FRAME_BORDER.get_int()