mirror of
https://github.com/NaN-tic/tryton-gtk2.git
synced 2023-12-14 03:12:58 +01:00
opt-in for Mac integration
The Mac integration is not fully stable for now. issue4595 review19341002
This commit is contained in:
parent
b0458d4243
commit
55a778a08a
2 changed files with 7 additions and 2 deletions
|
@ -49,6 +49,11 @@ Options
|
|||
|
||||
-s SERVER, --server=SERVER Specify the server hostname
|
||||
|
||||
Environment
|
||||
***********
|
||||
|
||||
`GTKOSXAPPLICATION` Activate with native Mac desktop
|
||||
|
||||
URL
|
||||
***
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue