Subversion Repositories Kolibri OS

Rev

Rev 9602 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9602 Rev 9644
Line 130... Line 130...
130
		//}
130
		//}
131
	} else {
131
	} else {
132
		strcpy(#get_url, #uEdit);
132
		strcpy(#get_url, #uEdit);
133
	}
133
	}
134
	if (http.get(#get_url)) {
134
	if (http.get(#get_url)) {
135
		ed.blur_border_color = 0xCACACA;
135
		ed.border_color = 0xCACACA;
136
		EditBox_UpdateText(#ed, ed_disabled);
136
		EditBox_UpdateText(#ed, ed_disabled);
137
		pb.value = 0;
137
		pb.value = 0;
138
		DrawWindow();
138
		DrawWindow();
139
	} else {
139
	} else {
140
		notify(T_ERROR_STARTING_DOWNLOAD);
140
		notify(T_ERROR_STARTING_DOWNLOAD);
Line 164... Line 164...
164
{
164
{
165
	http.stop();
165
	http.stop();
166
	if (http.content_pointer) http.content_pointer = free(http.content_pointer);
166
	if (http.content_pointer) http.content_pointer = free(http.content_pointer);
167
	http.content_received = http.content_length = 0;
167
	http.content_received = http.content_length = 0;
Line 168... Line 168...
168
 
168
 
169
	ed.blur_border_color = 0xFFFfff;
169
	ed.border_color = 0xFFFfff;
170
	EditBox_UpdateText(#ed, ed_focus);
170
	EditBox_UpdateText(#ed, ed_focus);
171
	DrawWindow();
171
	DrawWindow();
Line 172... Line 172...
172
}
172
}