#7083 NORM Never A: Zoom Factor on Jhbuild
Zarro Boogs per Child
bugtracker at laptop.org
Sun May 25 13:37:20 EDT 2008
#7083: Zoom Factor on Jhbuild
---------------------------+------------------------------------------------
Reporter: waqastoor | Owner: marco
Type: task | Status: new
Priority: normal | Milestone: Never Assigned
Component: sugar-jhbuild | Version: Update.1
Keywords: | Verified: 0
Blocking: | Blockedby:
---------------------------+------------------------------------------------
when I change the resolution of Xephyr, lets say 800x600 the icons remain
too big. The function in style.py lo
==============================================================
def _compute_zoom_factor():
if _get_screen_dpi() == 96.0:
if not os.environ.has_key('SUGAR_XO_STYLE') or \
not os.environ['SUGAR_XO_STYLE'] == 'yes':
return 0.72
return 1.0
==============================================================
the values I get are
_get_screen_dpi = 95.0 ( same value I get every time when I change
resolutions )
os.environ.has_key('SUGAR_XO_STYLE') = True
os.environ['SUGAR_XO_STYLE'] = no
NOW when I changed the return 1.0 to return 0.72 it works fine, I switched
between different resolutions and it works fine
what could be the issue ???
--
Ticket URL: <http://dev.laptop.org/ticket/7083>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list