comparison lib/bookmark.c @ 275:5810b0f97eee

2003-9-21 Brian Masney <masneyb@gftp.org> * lib/protocols.c (gftp_parse_bookmark) lib/gftp.h lib/bookmark.c src/gtk/bookmarks.c - added pointer to refresh_local variable that is enabled if the local directory was changed. In src/gtk/bookmarks.c, if the local directory was changed, refresh the directory listing.
author masneyb
date Sun, 21 Sep 2003 17:33:45 +0000
parents b42e7233533a
children eedc2c5727fa
comparison
equal deleted inserted replaced
274:4610d25d4abb 275:5810b0f97eee
23 23
24 static int 24 static int
25 bookmark_parse_url (gftp_request * request, const char * url) 25 bookmark_parse_url (gftp_request * request, const char * url)
26 { 26 {
27 const char * pos; 27 const char * pos;
28 int update_local;
28 29
29 g_return_val_if_fail (request != NULL, GFTP_EFATAL); 30 g_return_val_if_fail (request != NULL, GFTP_EFATAL);
30 g_return_val_if_fail (url != NULL, GFTP_EFATAL); 31 g_return_val_if_fail (url != NULL, GFTP_EFATAL);
31 32
32 if ((pos = strstr (url, "://")) != NULL) 33 if ((pos = strstr (url, "://")) != NULL)
40 } 41 }
41 } 42 }
42 else 43 else
43 pos = url; 44 pos = url;
44 45
45 return (gftp_parse_bookmark (request, NULL, pos)); 46 return (gftp_parse_bookmark (request, NULL, pos, &update_local));
46 } 47 }
47 48
48 49
49 void 50 void
50 bookmark_register_module (void) 51 bookmark_register_module (void)