Subversion Repositories Kolibri OS

Rev

Rev 7491 | Rev 7634 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7491 Rev 7628
1
#ifdef LANG_RUS
1
#ifdef LANG_RUS
2
	?define TITLE_SETT " áâனª¨"
2
	?define TITLE_SETT " áâனª¨"
3
	?define SHOW_DEVICE_CLASS "‚뢮¤¨âì ­ §¢ ­¨ï ª« áá  ãáâனáâ¢"
3
	?define SHOW_DEVICE_CLASS "‚뢮¤¨âì ­ §¢ ­¨ï ª« áá  ãáâனáâ¢"
4
	?define SHOW_REAL_NAMES "®ª §ë¢ âì ¨¬¥­  ä ©«®¢ ­¥ ¬¥­ïï ॣ¨áâà"
4
	?define SHOW_STATUS_BAR "®ª §ë¢ âì áâ âãá ¡ à"
5
	?define SHOW_STATUS_BAR "®ª §ë¢ âì áâ âãá ¡ à"
-
 
6
	?define NOTIFY_COPY_END "“¢¥¤®¬«ïâì ® § ¢¥à襭¨¨ ª®¯¨à®¢ ­¨ï"
5
	?define NOTIFY_COPY_END "“¢¥¤®¬«ïâì ® § ¢¥à襭¨¨ ª®¯¨à®¢ ­¨ï"
7
	?define SHOW_BREADCRUMBS "ˆá¯®«ì§®¢ âì 'å«¥¡­ë¥ ªà®èª¨'"
6
	?define SHOW_BREADCRUMBS "ˆá¯®«ì§®¢ âì 'å«¥¡­ë¥ ªà®èª¨'"
8
	?define BIG_ICONS "ˆá¯®«ì§®¢ âì ¡®«ì訥 ¨ª®­ª¨"
7
	?define BIG_ICONS "ˆá¯®«ì§®¢ âì ¡®«ì訥 ¨ª®­ª¨"
9
	?define USE_TWO_PANELS "„¢¥ ¯ ­¥«¨"
8
	?define USE_TWO_PANELS "„¢¥ ¯ ­¥«¨"
10
	?define COLORED_LINES "®¤á¢¥ç¨¢ âì ç¥â­ë¥ «¨­¨¨ ¢ ᯨ᪥"
9
	?define COLORED_LINES "®¤á¢¥ç¨¢ âì ç¥â­ë¥ «¨­¨¨ ¢ ᯨ᪥"
11
	?define FONT_SIZE_LABEL " §¬¥à èà¨äâ "
10
	?define FONT_SIZE_LABEL " §¬¥à èà¨äâ "
12
	?define LIST_LINE_HEIGHT "‚ëá®â  áâப¨ ¢ ᯨ᪥"
11
	?define LIST_LINE_HEIGHT "‚ëá®â  áâப¨ ¢ ᯨ᪥"
13
	?define SAVE_PATH_AS_DEFAULT "’¥ªã騩 ¯ãâì"
12
	?define SAVE_PATH_AS_DEFAULT "’¥ªã騩 ¯ãâì"
14
	?define SAVE_START_PATH_AS_DEFAULT "‚¢¥¤¥­­ë© ¯ãâì"
13
	?define SAVE_START_PATH_AS_DEFAULT "‚¢¥¤¥­­ë© ¯ãâì"
15
	?define EDIT_FILE_ASSOCIATIONS "¥¤ ªâ¨à®¢ âì  áá®æ¨ æ¨¨ ä ©«®¢"
14
	?define EDIT_FILE_ASSOCIATIONS "¥¤ ªâ¨à®¢ âì  áá®æ¨ æ¨¨ ä ©«®¢"
16
	?define START_PATH " ‘â àâ®¢ë© ¯ãâì: "
15
	?define START_PATH " ‘â àâ®¢ë© ¯ãâì: "
17
#else
16
#else
18
	?define TITLE_SETT "Settings"
17
	?define TITLE_SETT "Settings"
19
	?define SHOW_DEVICE_CLASS "Show device class name"
18
	?define SHOW_DEVICE_CLASS "Show device class name"
20
	?define SHOW_REAL_NAMES "Show file names in original case"
19
	?define SHOW_STATUS_BAR "Show status bar"
21
	?define SHOW_STATUS_BAR "Show status bar"
-
 
22
	?define NOTIFY_COPY_END "Notify when copying finished"
20
	?define NOTIFY_COPY_END "Notify when copying finished"
23
	?define SHOW_BREADCRUMBS "Show breadcrumbs"
21
	?define SHOW_BREADCRUMBS "Show breadcrumbs"
24
	?define BIG_ICONS "Big icons in list"
22
	?define BIG_ICONS "Big icons in list"
25
	?define USE_TWO_PANELS "Two panels"
23
	?define USE_TWO_PANELS "Two panels"
26
	?define COLORED_LINES "Highlight even lines in list"
24
	?define COLORED_LINES "Highlight even lines in list"
27
	?define FONT_SIZE_LABEL "Font size"
25
	?define FONT_SIZE_LABEL "Font size"
28
	?define LIST_LINE_HEIGHT "List line height"
26
	?define LIST_LINE_HEIGHT "List line height"
29
	?define SAVE_PATH_AS_DEFAULT "Current path"
27
	?define SAVE_PATH_AS_DEFAULT "Current path"
30
	?define SAVE_START_PATH_AS_DEFAULT "Typed path"
28
	?define SAVE_START_PATH_AS_DEFAULT "Typed path"
31
	?define EDIT_FILE_ASSOCIATIONS "Edit file associations"
29
	?define EDIT_FILE_ASSOCIATIONS "Edit file associations"
32
	?define START_PATH " Start path: "
30
	?define START_PATH " Start path: "
33
#endif
31
#endif
34
 
32
 
35
char path_start[4096];
33
char path_start[4096];
36
edit_box path_start_ed = {290,50,57,0xffffff,0x94AECE,0xffffff,0xffffff,0x10000000,4098,
34
edit_box path_start_ed = {290,50,57,0xffffff,0x94AECE,0xffffff,0xffffff,0x10000000,4098,
37
	                      #path_start,0, 100000000000010b,0,0};
35
	                      #path_start,0, 100000000000010b,0,0};
38
 
36
 
39
more_less_box font_size   = { NULL, 9, 22, FONT_SIZE_LABEL };
37
more_less_box font_size   = { NULL, 9, 22, FONT_SIZE_LABEL };
40
more_less_box line_height = { NULL, 16, 64, LIST_LINE_HEIGHT };
38
more_less_box line_height = { NULL, 16, 64, LIST_LINE_HEIGHT };
41
checkbox show_dev_name    = { SHOW_DEVICE_CLASS };
39
checkbox show_dev_name    = { SHOW_DEVICE_CLASS };
42
checkbox show_real_names  = { SHOW_REAL_NAMES };
40
checkbox show_status_bar  = { SHOW_STATUS_BAR };
43
checkbox show_status_bar  = { SHOW_STATUS_BAR };
-
 
44
checkbox info_after_copy  = { NOTIFY_COPY_END };
41
checkbox info_after_copy  = { NOTIFY_COPY_END };
45
checkbox show_breadcrumb  = { SHOW_BREADCRUMBS };
42
checkbox show_breadcrumb  = { SHOW_BREADCRUMBS };
46
checkbox big_icons        = { BIG_ICONS };
43
checkbox big_icons        = { BIG_ICONS };
47
checkbox two_panels       = { USE_TWO_PANELS };
44
checkbox two_panels       = { USE_TWO_PANELS };
48
checkbox colored_lines    = { COLORED_LINES };
45
checkbox colored_lines    = { COLORED_LINES };
49
 
46
 
50
 
47
 
51
void settings_dialog()
48
void settings_dialog()
52
{   
49
{   
53
	proc_info Settings;
50
	proc_info Settings;
54
	int id;
51
	int id;
55
	active_settings=1;
52
	active_settings=1;
56
	font_size.value = kfont.size.pt;
53
	font_size.value = kfont.size.pt;
57
	line_height.value = files.item_h;
54
	line_height.value = files.item_h;
58
	SetEventMask(0x27);
55
	SetEventMask(0x27);
59
	loop(){
56
	loop(){
60
		switch(WaitEvent())
57
		switch(WaitEvent())
61
		{
58
		{
62
			case evMouse:
59
			case evMouse:
63
				edit_box_mouse stdcall (#path_start_ed);
60
				edit_box_mouse stdcall (#path_start_ed);
64
				break;
61
				break;
65
				
62
				
66
			case evButton: 
63
			case evButton: 
67
				id=GetButtonID();
64
				id=GetButtonID();
68
				if (1==id) { ExitSettings(); break; }
65
				if (1==id) { ExitSettings(); break; }
69
				else if (id==5)
66
				else if (id==5)
70
				{
67
				{
71
					RunProgram("/sys/tinypad", "/sys/settings/assoc.ini");
68
					RunProgram("/sys/tinypad", "/sys/settings/assoc.ini");
72
					break;
69
					break;
73
				}
70
				}
74
				else if (id==6)
71
				else if (id==6)
75
				{
72
				{
76
					strcpy(#path_start,#path);
73
					strcpy(#path_start,#path);
77
					path_start_ed.size = path_start_ed.pos = strlen(#path_start);
74
					path_start_ed.size = path_start_ed.pos = strlen(#path_start);
78
					ini.SetString("DefaultPath", #path, strlen(#path));
75
					ini.SetString("DefaultPath", #path, strlen(#path));
79
					edit_box_draw stdcall (#path_start_ed);
76
					edit_box_draw stdcall (#path_start_ed);
80
					break;
77
					break;
81
				}
78
				}
82
				else if (id==7)
79
				else if (id==7)
83
				{
80
				{
84
					SetDefaultPath(#path_start);
81
					SetDefaultPath(#path_start);
85
					break;
82
					break;
86
				}
83
				}
87
				show_dev_name.click(id);
84
				show_dev_name.click(id);
88
				if (show_real_names.click(id)) action_buf=109;
85
				info_after_copy.click(id);
89
				info_after_copy.click(id);
-
 
90
				two_panels.click(id);
86
				two_panels.click(id);
91
				show_breadcrumb.click(id);
87
				show_breadcrumb.click(id);
92
				show_status_bar.click(id);
88
				show_status_bar.click(id);
93
				colored_lines.click(id);
89
				colored_lines.click(id);
94
				if (font_size.click(id)) { 
90
				if (font_size.click(id)) { 
95
					kfont.size.pt = font_size.value; 
91
					kfont.size.pt = font_size.value; 
96
					kfont.changeSIZE(); 
92
					kfont.changeSIZE(); 
97
					BigFontsChange(); 
93
					BigFontsChange(); 
98
				}
94
				}
99
				if (line_height.click(id)) files.item_h = files_inactive.item_h = line_height.value; 
95
				if (line_height.click(id)) files.item_h = files_inactive.item_h = line_height.value; 
100
				if (big_icons.click(id)) BigIconsSwitch();
96
				if (big_icons.click(id)) BigIconsSwitch();
101
				EventRedrawWindow(Form.left,Form.top);
97
				EventRedrawWindow(Form.left,Form.top);
102
				//RefreshWindow(Form.slot, Settings.slot);
98
				//RefreshWindow(Form.slot, Settings.slot);
103
				break;
99
				break;
104
					
100
					
105
			case evKey:
101
			case evKey:
106
				GetKeys();
102
				GetKeys();
107
				if (key_scancode==SCAN_CODE_ESC) ExitSettings();
103
				if (key_scancode==SCAN_CODE_ESC) ExitSettings();
108
				EAX= key_ascii << 8;
104
				EAX= key_ascii << 8;
109
				edit_box_key stdcall (#path_start_ed);	
105
				edit_box_key stdcall (#path_start_ed);	
110
				break;
106
				break;
111
				
107
				
112
			case evReDraw:
108
			case evReDraw:
113
				DefineAndDrawWindow(Form.cwidth-300/2+Form.left, Form.cheight-292/2+Form.top, 400, 
109
				DefineAndDrawWindow(Form.cwidth-300/2+Form.left, Form.cheight-292/2+Form.top, 400, 
114
					435+skin_height,0x34,system.color.work,TITLE_SETT,0);
110
					435+skin_height,0x34,system.color.work,TITLE_SETT,0);
115
				GetProcessInfo(#Settings, SelfInfo);
111
				GetProcessInfo(#Settings, SelfInfo);
116
				DrawSettingsCheckBoxes();
112
				DrawSettingsCheckBoxes();
117
		}
113
		}
118
	}
114
	}
119
}
115
}
120
 
116
 
121
void ExitSettings()
117
void ExitSettings()
122
{
118
{
123
	active_settings = 0;
119
	active_settings = 0;
124
	settings_window = 0;
120
	settings_window = 0;
125
	cmd_free = 4;
121
	cmd_free = 4;
126
	ExitProcess();
122
	ExitProcess();
127
}
123
}
128
 
124
 
129
void DrawSettingsCheckBoxes()
125
void DrawSettingsCheckBoxes()
130
{
126
{
131
	incn y;
127
	incn y;
132
	int x=11, frx=26, but_x;
128
	int x=11, frx=26, but_x;
133
	y.n = 0;
129
	y.n = 0;
134
	show_dev_name.draw(x, y.inc(14));
130
	show_dev_name.draw(x, y.inc(14));
135
	show_real_names.draw(x, y.inc(25));
131
	show_status_bar.draw(x, y.inc(25));
136
	show_status_bar.draw(x, y.inc(25));
-
 
137
	info_after_copy.draw(x, y.inc(25));
132
	info_after_copy.draw(x, y.inc(25));
138
	show_breadcrumb.draw(x, y.inc(25));
133
	show_breadcrumb.draw(x, y.inc(25));
139
	big_icons.draw(x, y.inc(25));
134
	big_icons.draw(x, y.inc(25));
140
	two_panels.draw(x, y.inc(25));
135
	two_panels.draw(x, y.inc(25));
141
	colored_lines.draw(x, y.inc(25));
136
	colored_lines.draw(x, y.inc(25));
142
	font_size.draw(x, y.inc(31));
137
	font_size.draw(x, y.inc(31));
143
	line_height.draw(x, y.inc(31));
138
	line_height.draw(x, y.inc(31));
144
	
139
	
145
	DrawFrame(x, y.inc(37), 340, 95, START_PATH);
140
	DrawFrame(x, y.inc(37), 340, 95, START_PATH);
146
	// START_PATH {
141
	// START_PATH {
147
	DrawEditBoxPos(frx, y.inc(21), #path_start_ed);
142
	DrawEditBoxPos(frx, y.inc(21), #path_start_ed);
148
	but_x = DrawStandartCaptButton(frx, y.inc(34), 6, SAVE_PATH_AS_DEFAULT);
143
	but_x = DrawStandartCaptButton(frx, y.inc(34), 6, SAVE_PATH_AS_DEFAULT);
149
	DrawStandartCaptButton(frx+but_x, y.inc(0), 7, SAVE_START_PATH_AS_DEFAULT);
144
	DrawStandartCaptButton(frx+but_x, y.inc(0), 7, SAVE_START_PATH_AS_DEFAULT);
150
	// } START_PATH
145
	// } START_PATH
151
 
146
 
152
	DrawStandartCaptButton(x, y.inc(52), 5, EDIT_FILE_ASSOCIATIONS);
147
	DrawStandartCaptButton(x, y.inc(52), 5, EDIT_FILE_ASSOCIATIONS);
153
}
148
}
154
 
149
 
155
 
150
 
156
void LoadIniSettings()
151
void LoadIniSettings()
157
{
152
{
158
	ini.path = GetIni(#eolite_ini_path, "app.ini");
153
	ini.path = GetIni(#eolite_ini_path, "app.ini");
159
	ini.section = "Eolite";
154
	ini.section = "Eolite";
160
 
155
 
161
	files.SetFont(6, 9, 10000000b);
156
	files.SetFont(6, 9, 10000000b);
162
	show_real_names.checked = ini.GetInt("RealFileNamesCase", true); 
157
	show_dev_name.checked   = ini.GetInt("ShowDeviceName", true); 
163
	show_dev_name.checked   = ini.GetInt("ShowDeviceName", true); 
-
 
164
	show_status_bar.checked = ini.GetInt("ShowStatusBar", true); 
158
	show_status_bar.checked = ini.GetInt("ShowStatusBar", true); 
165
	info_after_copy.checked = ini.GetInt("InfoAfterCopy", false); 
159
	info_after_copy.checked = ini.GetInt("InfoAfterCopy", false); 
166
	big_icons.checked       = ini.GetInt("BigIcons", false); BigIconsSwitch();
160
	big_icons.checked       = ini.GetInt("BigIcons", false); BigIconsSwitch();
167
	two_panels.checked      = ini.GetInt("TwoPanels", false); 
161
	two_panels.checked      = ini.GetInt("TwoPanels", false); 
168
	colored_lines.checked   = ini.GetInt("ColoredLines", false); 
162
	colored_lines.checked   = ini.GetInt("ColoredLines", false); 
169
	kfont.size.pt   = ini.GetInt("FontSize", 13); 
163
	kfont.size.pt   = ini.GetInt("FontSize", 13); 
170
	files.item_h    = ini.GetInt("LineHeight", 19);
164
	files.item_h    = ini.GetInt("LineHeight", 19);
171
	Form.left   = ini.GetInt("WinX", 200); 
165
	Form.left   = ini.GetInt("WinX", 200); 
172
	Form.top    = ini.GetInt("WinY", 50); 
166
	Form.top    = ini.GetInt("WinY", 50); 
173
	Form.width  = ini.GetInt("WinW", 550); 
167
	Form.width  = ini.GetInt("WinW", 550); 
174
	Form.height = ini.GetInt("WinH", 506); 
168
	Form.height = ini.GetInt("WinH", 506); 
175
	ini.GetString("DefaultPath", #path, 4096, "/rd/1");
169
	ini.GetString("DefaultPath", #path, 4096, "/rd/1");
176
	ini.GetString("DefaultPath", #path_start, 4096, "/rd/1");
170
	ini.GetString("DefaultPath", #path_start, 4096, "/rd/1");
177
	path_start_ed.size = path_start_ed.pos = strlen(#path_start);
171
	path_start_ed.size = path_start_ed.pos = strlen(#path_start);
178
 
172
 
179
	ini_get_str stdcall ("/sys/SETTINGS/SYSTEM.INI", "system", "font file",#temp,4096,DEFAULT_FONT);
173
	ini_get_str stdcall ("/sys/SETTINGS/SYSTEM.INI", "system", "font file",#temp,4096,DEFAULT_FONT);
180
	kfont.init(#temp);
174
	kfont.init(#temp);
181
	ini_get_str stdcall ("/sys/SETTINGS/SYSTEM.INI", "system", "font smoothing",#temp,4096,"on");
175
	ini_get_str stdcall ("/sys/SETTINGS/SYSTEM.INI", "system", "font smoothing",#temp,4096,"on");
182
	if(!strcmp(#temp,"off")) kfont.smooth = false; else kfont.smooth = true;
176
	if(!strcmp(#temp,"off")) kfont.smooth = false; else kfont.smooth = true;
183
}
177
}
184
 
178
 
185
 
179
 
186
void SaveIniSettings()
180
void SaveIniSettings()
187
{
181
{
188
	ini.SetInt("ShowDeviceName", show_dev_name.checked);
182
	ini.SetInt("ShowDeviceName", show_dev_name.checked);
189
	ini.SetInt("ShowStatusBar", show_status_bar.checked);
183
	ini.SetInt("ShowStatusBar", show_status_bar.checked);
190
	ini.SetInt("RealFileNamesCase", show_real_names.checked);
184
	ini.SetInt("InfoAfterCopy", info_after_copy.checked);
191
	ini.SetInt("InfoAfterCopy", info_after_copy.checked);
-
 
192
	ini.SetInt("BigIcons", big_icons.checked);
185
	ini.SetInt("BigIcons", big_icons.checked);
193
	ini.SetInt("TwoPanels", two_panels.checked);
186
	ini.SetInt("TwoPanels", two_panels.checked);
194
	ini.SetInt("ColoredLines", colored_lines.checked);
187
	ini.SetInt("ColoredLines", colored_lines.checked);
195
	ini.SetInt("FontSize", kfont.size.pt);
188
	ini.SetInt("FontSize", kfont.size.pt);
196
	ini.SetInt("LineHeight", files.item_h);
189
	ini.SetInt("LineHeight", files.item_h);
197
	ini.SetInt("WinX", Form.left);
190
	ini.SetInt("WinX", Form.left);
198
	ini.SetInt("WinY", Form.top);
191
	ini.SetInt("WinY", Form.top);
199
	ini.SetInt("WinW", Form.width);
192
	ini.SetInt("WinW", Form.width);
200
	ini.SetInt("WinH", Form.height);
193
	ini.SetInt("WinH", Form.height);
201
}
194
}
202
 
195
 
203
 
196
 
204
 
197
 
205
void Write_Error(int error_number)
198
void Write_Error(int error_number)
206
{
199
{
207
	char error_message[500];
200
	char error_message[500];
208
	sprintf(#error_message,"\"%s\n%s\" -%s","Eolite",get_error(error_number),"tE");
201
	sprintf(#error_message,"\"%s\n%s\" -%s","Eolite",get_error(error_number),"tE");
209
	notify(#error_message);	
202
	notify(#error_message);	
210
}
203
}
211
 
204
 
212
 
205
 
213
void SetAppColors()
206
void SetAppColors()
214
{
207
{
215
	int i;
208
	int i;
216
	system.color.get();
209
	system.color.get();
217
 
210
 
218
	for (i=0; i<=14; i++) col_work_gradient[14-i]= MixColors(0, system.color.work, i);
211
	for (i=0; i<=14; i++) col_work_gradient[14-i]= MixColors(0, system.color.work, i);
219
	col_work = system.color.work;
212
	col_work = system.color.work;
220
	col_graph = system.color.work_graph;
213
	col_graph = system.color.work_graph;
221
	system.color.work_dark = MixColors(0, system.color.work, 35);
214
	system.color.work_dark = MixColors(0, system.color.work, 35);
222
 
215
 
223
	/*
216
	/*
224
	col_work    = 0xE4DFE1;
217
	col_work    = 0xE4DFE1;
225
	col_graph   = 0x7E87A3;
218
	col_graph   = 0x7E87A3;
226
	*/
219
	*/
227
	col_lpanel  = 0x00699C;
220
	col_lpanel  = 0x00699C;
228
	col_selec   = 0x94AECE;
221
	col_selec   = 0x94AECE;
229
}
222
}
230
 
223
 
231
 
224
 
232
void BigFontsChange()
225
void BigFontsChange()
233
{
226
{
234
	files.item_h = kfont.size.pt + 4;
227
	files.item_h = kfont.size.pt + 4;
235
	if (files.item_h
228
	if (files.item_h
236
		files.item_h = icon_size+3;
229
		files.item_h = icon_size+3;
237
		line_height.value = files.item_h;
230
		line_height.value = files.item_h;
238
		line_height.redraw();
231
		line_height.redraw();
239
	}
232
	}
240
	files_active.item_h = files_inactive.item_h = files.item_h;
233
	files_active.item_h = files_inactive.item_h = files.item_h;
241
}
234
}
242
 
235
 
243
void BigIconsSwitch()
236
void BigIconsSwitch()
244
{
237
{
245
	if (big_icons.checked) 
238
	if (big_icons.checked) 
246
	{
239
	{
247
		icon_size=32;
240
		icon_size=32;
248
		if (!icons32_default.image)
241
		if (!icons32_default.image)
249
		{
242
		{
250
			Libimg_LoadImage(#icons32_default, "/sys/icons32.png");
243
			Libimg_LoadImage(#icons32_default, "/sys/icons32.png");
251
			Libimg_LoadImage(#icons32_selected, "/sys/icons32.png");
244
			Libimg_LoadImage(#icons32_selected, "/sys/icons32.png");
252
			Libimg_ReplaceColor(icons32_default.image, icons32_selected.w, 
245
			Libimg_ReplaceColor(icons32_default.image, icons32_selected.w, 
253
				icons32_selected.h, 0x00000000, 0xffFFFfff);
246
				icons32_selected.h, 0x00000000, 0xffFFFfff);
254
			Libimg_ReplaceColor(icons32_selected.image, icons32_selected.w, 
247
			Libimg_ReplaceColor(icons32_selected.image, icons32_selected.w, 
255
				icons32_selected.h, 0x00000000, col_selec);								
248
				icons32_selected.h, 0x00000000, col_selec);								
256
		}
249
		}
257
	}
250
	}
258
	else {
251
	else {
259
		icon_size=16; 
252
		icon_size=16; 
260
	}
253
	}
261
	BigFontsChange();
254
	BigFontsChange();
262
}
255
}
263
 
256
 
264
void SetDefaultPath(dword p)
257
void SetDefaultPath(dword p)
265
{
258
{
266
	ini.SetString("DefaultPath", p, strlen(p));
259
	ini.SetString("DefaultPath", p, strlen(p));
267
	notify("'Default path has been set' -O");
260
	notify("'Default path has been set' -O");
268
}
261
}