From 64bcaace19dd706bb079c990ca00b308e38c288e Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Mon, 29 Mar 2010 11:00:29 -0300 Subject: [PATCH 1/2] This removes the invisible vertical scroll, although I'm not sure *why* it fixed. --- mitterlib/ui/ui_pygtk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mitterlib/ui/ui_pygtk.py b/mitterlib/ui/ui_pygtk.py index 11acaba..282b8f7 100644 --- a/mitterlib/ui/ui_pygtk.py +++ b/mitterlib/ui/ui_pygtk.py @@ -661,8 +661,8 @@ class Interface(object): iter = model.get_iter_first() path = model.get_path(iter) - width = win_width - 70 # 48 = icon size - # TODO: Find out where those 12 pixels came from and/or if they + width = win_width - 80 # 48 = icon size + # TODO: Find out where those 32 pixels came from and/or if they # are platform specific. for renderer in column.get_cell_renderers(): From dcea7ce649c6c4c35ae62ade33c624dead4778f6 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Mon, 29 Mar 2010 11:05:21 -0300 Subject: [PATCH 2/2] Still not good enough. --- mitterlib/ui/ui_pygtk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mitterlib/ui/ui_pygtk.py b/mitterlib/ui/ui_pygtk.py index 282b8f7..2a5880d 100644 --- a/mitterlib/ui/ui_pygtk.py +++ b/mitterlib/ui/ui_pygtk.py @@ -661,8 +661,8 @@ class Interface(object): iter = model.get_iter_first() path = model.get_path(iter) - width = win_width - 80 # 48 = icon size - # TODO: Find out where those 32 pixels came from and/or if they + width = win_width - 85 # 48 = icon size + # TODO: Find out where those 37 pixels came from and/or if they # are platform specific. for renderer in column.get_cell_renderers():