~openerp-dev/openobject-client/6.1-opw-582620-rgo

Viewing all changes in revision 2098.

  • Committer: Xavier ALT
  • Date: 2012-10-23 08:55:52 UTC
  • mfrom: (2096.1.1 6.1-opw-579680-xal)
  • Revision ID: xal@openerp.com-20121023085552-jtnjw21u74rg3ldg
[MERGE] OPW 579680: workaround bug on win7 preventing python process to exit correctly

  It seems that under Windows7 (32 & 64 bits) doing 'import win32ui' will prevent
  python process to exit correctly (in fact after import sys.exit(0) will not
  have any effects at all).

  Change user font name & size detection method to use ctypes.windll directly
  instead of win32ui to prevent getting into trouble.

  For reference:
  [1] http://sourceforge.net/tracker/?func=detail&aid=3571828&group_id=78018&atid=551954
  [2] http://sourceforge.net/tracker/?func=detail&aid=3562998&group_id=78018&atid=551954

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: