Skip to content

Commit

Permalink
Add KANMAIL_FRAMELESS environment variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Jun 8, 2020
1 parent 218f04f commit 6414050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kanmail/settings/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

# Platform specific interface settings
PLATFORM = platform.system()
FRAMELESS = IS_APP and PLATFORM == 'Darwin'
FRAMELESS = IS_APP and PLATFORM == 'Darwin' and environ.get('KANMAIL_FRAMELESS', 'on') == 'on'

platform_to_gui = {
'Darwin': 'cocoa',
Expand Down

0 comments on commit 6414050

Please sign in to comment.