Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Theme.py
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-01-20 00:59:39 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-01-21 11:51:11 (GMT)
commit360be7d95845d415dba0563034754de4394f0155 (patch)
tree9a44632729cb3f6b47e680553cd325bd180e4fe7 /Theme.py
parent143c616b5a588879a86d10df2343b54ac15241e0 (diff)
...
Diffstat (limited to 'Theme.py')
-rw-r--r--Theme.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Theme.py b/Theme.py
index a970c79..4ab2655 100644
--- a/Theme.py
+++ b/Theme.py
@@ -69,8 +69,8 @@ OLD_COLOR_BG_BUTTONS = (
(gtk.STATE_INSENSITIVE,"#027F01"),
)
-FRAME_COUNT = (gtk.gdk.screen_height() - 370) / IMGHEIGHT * 2
-TAPE_COUNT = (gtk.gdk.screen_width() - 430) / IMGWIDTH
+FRAME_COUNT = (gtk.gdk.screen_height() - IMGHEIGHT - IMGHEIGHT) / IMGHEIGHT * 2
+TAPE_COUNT = (gtk.gdk.screen_width() - IMGWIDTH) / IMGWIDTH
def path(file):
if os.path.isabs(file):