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 13:54:46 (GMT)
committer erich koslovsky <erikos@localhost.localdomain>2007-08-20 13:54:46 (GMT)
commitf9166988b59b77c0584f4cd004f27eebc662cad5 (patch)
tree011a2888f1d3d7f5f995f69ce39316486d1e668a /linkbutton.py
parent609b628200e8b1f67e9438b1d1f03bff63f01d91 (diff)
Fiddled that the size is acceptable for sugar-jhbuild and XO.
Diffstat (limited to 'linkbutton.py')
-rw-r--r--linkbutton.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/linkbutton.py b/linkbutton.py
index 7700f46..2b628bb 100644
--- a/linkbutton.py
+++ b/linkbutton.py
@@ -46,12 +46,12 @@ class LinkButton(gtk.RadioToolButton):
width = pixbuf_xo.get_width()
height = pixbuf_xo.get_height()
- dest_x = style.zoom(120)
- dest_y = style.zoom(80)
- w = width/2
- h = height/2
- scale_x = 0.5
- scale_y = 0.5
+ dest_x = style.zoom(105)
+ dest_y = style.zoom(65)
+ w = width*0.7
+ h = height*0.7
+ scale_x = 0.7
+ scale_y = 0.7
pixbuf_xo.composite(pixbuf, dest_x, dest_y, w, h, dest_x, dest_y, scale_x, scale_y, gtk.gdk.INTERP_BILINEAR, 255)