Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Jam/JamMain.py
diff options
context:
space:
mode:
Diffstat (limited to 'Jam/JamMain.py')
-rw-r--r--Jam/JamMain.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Jam/JamMain.py b/Jam/JamMain.py
index 2acc96f..f93e5c0 100644
--- a/Jam/JamMain.py
+++ b/Jam/JamMain.py
@@ -987,7 +987,8 @@ class JamMain(Gtk.EventBox):
x = (Block.Block.KEYSIZE - extents[1].width) // 2
y = (Block.Block.KEYSIZE - extents[1].height) // 2
ctx.set_source_rgb(*CairoUtil.gdk_color_to_cairo(border_color))
- ctx.rectangle(0, 0, Block.Block.KEYSIZE, Block.Block.KEYSIZE)
+ CairoUtil.draw_round_rect(ctx, 0, 0, Block.Block.KEYSIZE,
+ Block.Block.KEYSIZE, radio=5)
ctx.fill()
ctx.translate(x, y)
ctx.set_source_rgb(*CairoUtil.gdk_color_to_cairo(bg_color))