Skip to content

Commit

Permalink
New default style is set for Micro Soft Windows.
Browse files Browse the repository at this point in the history
	modified:   persepolis/scripts/setting.py
	modified:   persepolis/scripts/useful_tools.py
  • Loading branch information
alireza-amirsamimi committed Mar 31, 2018
1 parent 7a135a6 commit 91aa23f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion persepolis/scripts/setting.py
Expand Up @@ -400,7 +400,7 @@ def styleComboBoxChanged(self, index=None):
color_scheme = ['System', 'Persepolis Light Blue', 'Persepolis Dark Blue',
'Persepolis ArcDark Blue', 'Persepolis ArcDark Red',
'Persepolis Old Dark Red', 'Persepolis Old Light Red',
'Persepolis Old Dark Blue', 'Persepolis Old light Blue']
'Persepolis Old Dark Blue', 'Persepolis Old Light Blue']

# add items
self.color_comboBox.addItems(color_scheme)
Expand Down
8 changes: 8 additions & 0 deletions persepolis/scripts/useful_tools.py
Expand Up @@ -167,10 +167,18 @@ def returnDefaultSettings():
elif os_type == 'Darwin':
style = 'Macintosh'
color_scheme = 'System'
icons = 'Breeze'


elif os_type == 'Windows':
style = 'Fusion'
color_scheme = 'Persepolis Old Light Blue'
icons = 'Breeze'

else:
style = 'Fusion'
color_scheme = 'Persepolis Light Blue'
icons = 'Breeze'


# Persepolis default setting
Expand Down

0 comments on commit 91aa23f

Please sign in to comment.