opt-in for Mac integration

The Mac integration is not fully stable for now.

issue4595
review19341002
This commit is contained in:
C?dric Krier 2015-07-28 07:48:08 +02:00
parent b0458d4243
commit 55a778a08a
2 changed files with 7 additions and 2 deletions

View file

@ -49,6 +49,11 @@ Options
-s SERVER, --server=SERVER Specify the server hostname
Environment
***********
`GTKOSXAPPLICATION` Activate with native Mac desktop
URL
***

View file

@ -42,9 +42,9 @@ import tryton.plugins
from tryton.common.placeholder_entry import PlaceholderEntry
import pango
import time
try:
if os.environ.get('GTKOSXAPPLICATION'):
import gtkosx_application
except ImportError:
else:
gtkosx_application = None
try:
import gtkspell