application/davcontroller.c

changeset 48
ae61523bce20
parent 46
31bc86844659
child 49
2f71f4ee247a
equal deleted inserted replaced
47:3ac472683246 48:ae61523bce20
223 browser->navstack_pos++; 223 browser->navstack_pos++;
224 char *nav_url = cxListAt(browser->navigation_stack, browser->navstack_pos); 224 char *nav_url = cxListAt(browser->navigation_stack, browser->navstack_pos);
225 browser->navstack_enabled = false; 225 browser->navstack_enabled = false;
226 davbrowser_query_url(ui, browser, nav_url); 226 davbrowser_query_url(ui, browser, nav_url);
227 browser->navstack_enabled = true; 227 browser->navstack_enabled = true;
228 ui_set(browser->path, nav_url);
228 } 229 }
229 } 230 }
230 231
231 void davbrowser_navigation_forward(UiObject *ui, DavBrowser *browser) { 232 void davbrowser_navigation_forward(UiObject *ui, DavBrowser *browser) {
232 if (browser->navstack_pos > 0) { 233 if (browser->navstack_pos > 0) {
233 browser->navstack_pos--; 234 browser->navstack_pos--;
234 char *nav_url = cxListAt(browser->navigation_stack, browser->navstack_pos); 235 char *nav_url = cxListAt(browser->navigation_stack, browser->navstack_pos);
235 browser->navstack_enabled = false; 236 browser->navstack_enabled = false;
236 davbrowser_query_url(ui, browser, nav_url); 237 davbrowser_query_url(ui, browser, nav_url);
237 browser->navstack_enabled = true; 238 browser->navstack_enabled = true;
239 ui_set(browser->path, nav_url);
238 } 240 }
239 } 241 }
240 242
241 243
242 // ------------------------------------- File Upload ------------------------------------- 244 // ------------------------------------- File Upload -------------------------------------

mercurial