Rev 6678 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6678 | Rev 6738 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | int key, i; |
36 | int key, i; |
37 | char notify_message[4296]; |
37 | char notify_message[4296]; |
38 | downloader_opened = 1; |
38 | downloader_opened = 1; |
39 | SetEventMask(0x27); |
39 | SetEventMask(0x27); |
Line -... | Line 40... | ||
- | 40 | ||
- | 41 | filepath[0] = NULL; |
|
40 | 42 | ||
41 | downloader.Stop(); |
43 | downloader.Stop(); |
42 | if (downloader_edit[0]) StartDownloading(); else strcpy(#downloader_edit, "http://"); |
44 | if (downloader_edit[0]) StartDownloading(); else strcpy(#downloader_edit, "http://"); |
Line 43... | Line 45... | ||
43 | ed.size = ed.pos = ed.shift = ed.shift_old = strlen(#downloader_edit); |
45 | ed.size = ed.pos = ed.shift = ed.shift_old = strlen(#downloader_edit); |
Line 114... | Line 116... | ||
114 | { |
116 | { |
115 | if (id==001) { downloader_opened=0; StopDownloading(); ExitProcess(); } |
117 | if (id==001) { downloader_opened=0; StopDownloading(); ExitProcess(); } |
116 | if (id==301) && (downloader.http_transfer <= 0) StartDownloading(); |
118 | if (id==301) && (downloader.http_transfer <= 0) StartDownloading(); |
117 | if (id==302) StopDownloading(); |
119 | if (id==302) StopDownloading(); |
118 | if (id==305) RunProgram("/sys/File managers/Eolite", #save_to); |
120 | if (id==305) RunProgram("/sys/File managers/Eolite", #save_to); |
119 | if (id==306) RunProgram("@open", #filepath); |
121 | if (id==306) RunProgram("/sys/@open", #filepath); |
120 | } |
122 | } |
Line 121... | Line 123... | ||
121 | 123 | ||
122 | void DL_Draw_Window() |
124 | void DL_Draw_Window() |
123 | { |
125 | { |