application/application.c

changeset 88
e27526429d85
parent 68
79a9aadf1c70
child 89
2fbb3cac05a5
equal deleted inserted replaced
87:5360027fb282 88:e27526429d85
305 davbrowser_delete(event->obj, browser, sel); 305 davbrowser_delete(event->obj, browser, sel);
306 } 306 }
307 ui_listselection_free(sel); 307 ui_listselection_free(sel);
308 } 308 }
309 309
310 void action_selectall(UiEvent *event, void *data) {
311 DavBrowser *browser = event->document;
312 int nres = ui_list_count(browser->resources);
313 for(int i=0;i<nres;i++) {
314 ui_list_setselection(browser->resources, i);
315 }
316 }
317
310 static void newfiledialog_result(UiEvent *event, void *data) { 318 static void newfiledialog_result(UiEvent *event, void *data) {
311 DavBrowser *browser = event->document; 319 DavBrowser *browser = event->document;
312 char *path = event->eventdata; 320 char *path = event->eventdata;
313 if (event->intval == 1) { 321 if (event->intval == 1) {
314 davbrowser_newfile(event->obj, browser, path); 322 davbrowser_newfile(event->obj, browser, path);

mercurial