Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/linkbutton.py
diff options
context:
space:
mode:
authorerich koslovsky <erikos@localhost.localdomain>2007-08-20 09:16:46 (GMT)
committer erich koslovsky <erikos@localhost.localdomain>2007-08-20 09:16:46 (GMT)
commit609b628200e8b1f67e9438b1d1f03bff63f01d91 (patch)
treeaa837e77f939b37e485515454ee10e071af485a6 /linkbutton.py
parent5c57c205af2e2bc88269e1cb2f3b8b1a3f2f75f4 (diff)
Used style.zoom() to find out the size of the buddy icon on the links.
Diffstat (limited to 'linkbutton.py')
-rw-r--r--linkbutton.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/linkbutton.py b/linkbutton.py
index 1f5ac99..7700f46 100644
--- a/linkbutton.py
+++ b/linkbutton.py
@@ -46,8 +46,8 @@ class LinkButton(gtk.RadioToolButton):
width = pixbuf_xo.get_width()
height = pixbuf_xo.get_height()
- dest_x = 100
- dest_y = 66
+ dest_x = style.zoom(120)
+ dest_y = style.zoom(80)
w = width/2
h = height/2
scale_x = 0.5