Subversion Repositories Kolibri OS

Rev

Rev 5833 | Rev 5846 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5833 Rev 5834
Line 42... Line 42...
42
				}
42
				}
43
				else if (id==6)
43
				else if (id==6)
44
				{
44
				{
45
					ini_set_str stdcall (eolite_ini_path, #config_section, "DefaultPath", #path,strlen(#path));
45
					ini_set_str stdcall (eolite_ini_path, #config_section, "DefaultPath", #path,strlen(#path));
46
					break;
46
					IF(CMD_ENABLE_SAVE_IMG)ini_set_str stdcall (fd_path_eolite_ini_path, #config_section, "DefaultPath", #path,strlen(#path));
-
 
47
					break;
47
				}
48
				}
48
				else if (id==20) show_dev_name ^= 1;
49
				else if (id==20) show_dev_name ^= 1;
49
				else if (id==21) { action_buf=109; real_files_names_case ^= 1; }
50
				else if (id==21) { action_buf=109; real_files_names_case ^= 1; }
50
				else if (id==22) info_after_copy ^= 1;
51
				else if (id==22) info_after_copy ^= 1;
51
				else if (id==24) two_panels ^= 1;
52
				else if (id==24) two_panels ^= 1;
Line 114... Line 115...
114
 
115
 
Line 115... Line 116...
115
 
116
 
116
void SaveIniSettings()
117
void SaveIniSettings()
-
 
118
{
117
{
119
	
118
	ini_set_int stdcall (eolite_ini_path, #config_section, "ShowDeviceName", show_dev_name);
120
	ini_set_int stdcall (eolite_ini_path, #config_section, "ShowDeviceName", show_dev_name);
119
	ini_set_int stdcall (eolite_ini_path, #config_section, "RealFileNamesCase", real_files_names_case);
121
	ini_set_int stdcall (eolite_ini_path, #config_section, "RealFileNamesCase", real_files_names_case);
120
	ini_set_int stdcall (eolite_ini_path, #config_section, "InfoAfterCopy", info_after_copy);
122
	ini_set_int stdcall (eolite_ini_path, #config_section, "InfoAfterCopy", info_after_copy);
121
	ini_set_int stdcall (eolite_ini_path, #config_section, "FontSize", font.size.text);
123
	ini_set_int stdcall (eolite_ini_path, #config_section, "FontSize", font.size.text);
Line 125... Line 127...
125
	ini_set_int stdcall (eolite_ini_path, #config_section, "WinX", Form.left);
127
	ini_set_int stdcall (eolite_ini_path, #config_section, "WinX", Form.left);
126
	ini_set_int stdcall (eolite_ini_path, #config_section, "WinY", Form.top);
128
	ini_set_int stdcall (eolite_ini_path, #config_section, "WinY", Form.top);
127
	ini_set_int stdcall (eolite_ini_path, #config_section, "WinW", Form.width);
129
	ini_set_int stdcall (eolite_ini_path, #config_section, "WinW", Form.width);
128
	ini_set_int stdcall (eolite_ini_path, #config_section, "WinH", Form.height);
130
	ini_set_int stdcall (eolite_ini_path, #config_section, "WinH", Form.height);
129
}
131
	
-
 
132
	if(CMD_ENABLE_SAVE_IMG)
-
 
133
	{
-
 
134
		ini_set_int stdcall (fd_path_eolite_ini_path, #config_section, "ShowDeviceName", show_dev_name);
-
 
135
		ini_set_int stdcall (fd_path_eolite_ini_path, #config_section, "RealFileNamesCase", real_files_names_case);
-
 
136
		ini_set_int stdcall (fd_path_eolite_ini_path, #config_section, "InfoAfterCopy", info_after_copy);
-
 
137
		ini_set_int stdcall (fd_path_eolite_ini_path, #config_section, "FontSize", font.size.text);
-
 
138
		ini_set_int stdcall (fd_path_eolite_ini_path, #config_section, "TwoPanels", two_panels);
-
 
139
		ini_set_int stdcall (fd_path_eolite_ini_path, #config_section, "LineHeight", files.item_h);
-
 
140
		ini_set_int stdcall (fd_path_eolite_ini_path, #config_section, "TimeDoubleClick", MOUSE_TIME);
-
 
141
		ini_set_int stdcall (fd_path_eolite_ini_path, #config_section, "WinX", Form.left);
-
 
142
		ini_set_int stdcall (fd_path_eolite_ini_path, #config_section, "WinY", Form.top);
-
 
143
		ini_set_int stdcall (fd_path_eolite_ini_path, #config_section, "WinW", Form.width);
-
 
144
		ini_set_int stdcall (fd_path_eolite_ini_path, #config_section, "WinH", Form.height);
-
 
145
	}
-
 
146
}
130
 
147
 
Line 131... Line 148...
131
 
148