commit 4f410de758d9344aeff2cb8f9eda419b0d4eb853
parent 22c07c0c72ce33ae96459408bc21336600a6d9e1
Author: simos.lists <simos.lists@70737e48-4f4a-0410-8df8-290828ad50c4>
Date: Mon, 8 Sep 2008 02:45:28 +0000
Fixes issue #10,
http://code.google.com/p/keyboardlayouteditor/issues/detail?id=10
git-svn-id: http://keyboardlayouteditor.googlecode.com/svn/trunk@61 70737e48-4f4a-0410-8df8-290828ad50c4
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/KeyboardLayoutEditor/src/Keyboard.py b/KeyboardLayoutEditor/src/Keyboard.py
@@ -29,7 +29,7 @@ from KeyDict import KeyDict, included_files, activated_variants
class Keyboard(gtk.Frame):
__gtype_name__ = 'Keyboard'
- SPACING = 5
+ SPACING = 6
def __init__(self, layout):
gtk.Frame.__init__(self)
@@ -139,11 +139,10 @@ class Keyboard(gtk.Frame):
self.context = widget.window.cairo_create()
# set a clip region for the expose event
- self.context.set_source_rgb(0.8, 0.8, 0.8)
+ self.context.set_source_rgb(0.81, 0.84, 0.81)
self.context.rectangle(event.area.x, event.area.y,
event.area.width, event.area.height)
self.context.fill_preserve()
- self.context.stroke()
self.context.clip()
self.draw(self.context)