|
131 | 131 | CFG_LANG = 'lang'
|
132 | 132 |
|
133 | 133 | cfg_defaults={
|
134 |
| - CFG_THEME:'Vista Light' if windows else 'Clam Light', |
| 134 | + CFG_THEME:'Vista' if windows else 'Clam', |
135 | 135 | CFG_KEY_FULL_CRC:False,
|
136 | 136 | CFG_KEY_SHOW_TOOLTIPS_INFO:True,
|
137 | 137 | CFG_KEY_SHOW_TOOLTIPS_HELP:True,
|
@@ -616,11 +616,12 @@ def __init__(self,cwd,paths_to_add=None,exclude=None,exclude_regexp=None,norun=N
|
616 | 616 |
|
617 | 617 | ####################################
|
618 | 618 | self.themes_combos={}
|
619 |
| - {'Clam Light':('clam',0),'Clam Dark':('clam',1),'Classic Light':('classic',0),'Classic Dark':('classic',1),'Vista Light':('vista',0),'Vista Dark':('vista',0)} |
620 | 619 |
|
621 |
| - themes_names= [ 'Clam', 'Alt', 'Default', 'Classic'] |
| 620 | + themes_names= ['Clam', 'Alt'] |
622 | 621 | if windows:
|
623 |
| - themes_names = ['Vista'] + themes_names |
| 622 | + themes_names = ['Vista','Winnative','Xpnative'] + themes_names |
| 623 | + else: |
| 624 | + themes_names = themes_names + ['Classic','Default'] |
624 | 625 |
|
625 | 626 | for name in themes_names:
|
626 | 627 | for darkness,darknesscode in (('',0),('Dark',1)):
|
@@ -1046,7 +1047,6 @@ def self_folder_tree_yview(*args):
|
1046 | 1047 | self_folder_tree_tag_configure = self_folder_tree.tag_configure
|
1047 | 1048 |
|
1048 | 1049 | if black_theme:
|
1049 |
| - |
1050 | 1050 | self_groups_tree_tag_configure(self.NOTAG,foreground='white')
|
1051 | 1051 | #self_groups_tree_tag_configure(self.FILE, foreground='white')
|
1052 | 1052 | self_groups_tree_tag_configure(self.MARK, foreground='tomato')
|
@@ -1835,14 +1835,13 @@ def get_settings_dialog(self):
|
1835 | 1835 | self.lang_cb.grid(row=0, column=1, sticky='news',padx=4,pady=4)
|
1836 | 1836 |
|
1837 | 1837 |
|
1838 |
| - Label(lang_frame,text=STR('Theme:'),anchor='w').grid(row=0, column=2, sticky='wens',padx=8,pady=4) |
| 1838 | + Label(lang_frame,text=STR('Theme:'),anchor='w').grid(row=0, column=3, sticky='wens',padx=8,pady=4) |
1839 | 1839 | self.theme_var = StringVar()
|
1840 | 1840 |
|
1841 | 1841 | self.theme_cb = Combobox(lang_frame,values=list(self.themes_combos.keys()),textvariable=self.theme_var,state='readonly',width=16)
|
1842 |
| - self.theme_cb.grid(row=0, column=3, sticky='news',padx=4,pady=4) |
| 1842 | + self.theme_cb.grid(row=0, column=4, sticky='news',padx=4,pady=4) |
1843 | 1843 |
|
1844 | 1844 | lang_frame.grid_columnconfigure( 2, weight=1)
|
1845 |
| - lang_frame.grid_columnconfigure( 4, weight=1) |
1846 | 1845 |
|
1847 | 1846 | label_frame=LabelFrame(self.settings_dialog.area_main, text=STR("Results display mode"),borderwidth=2,bg=self.bg_color)
|
1848 | 1847 | label_frame.grid(row=row,column=0,sticky='wens',padx=3,pady=3) ; row+=1
|
|
0 commit comments