Now should correctly get the selected folder from the given URL.
2000-06-22 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (folder_browser_load_folder): Now should correctly get the selected folder from the given URL. svn path=/trunk/; revision=3704
This commit is contained in:
committed by
Jeffrey Stedfast
parent
d12be02179
commit
30f5127773
@ -1,3 +1,8 @@
|
||||
2000-06-22 Jeffrey Stedfast <fejj@helixcode.com>
|
||||
|
||||
* folder-browser.c (folder_browser_load_folder): Now should
|
||||
correctly get the selected folder from the given URL.
|
||||
|
||||
2000-06-22 Chris Toshok <toshok@helixcode.com>
|
||||
|
||||
* folder-browser.c (folder_browser_load_folder): add handling for
|
||||
|
||||
@ -119,11 +119,12 @@ folder_browser_load_folder (FolderBrowser *fb, const char *name)
|
||||
for (ptr = (char *)(name + 7); *ptr && *ptr != '/'; ptr++);
|
||||
if (*ptr == '/') {
|
||||
if (url && url->path) {
|
||||
fprintf (stderr, "namespace = %s\n", url->path);
|
||||
fprintf (stderr, "namespace = %s\n", url->path + 1);
|
||||
ptr += strlen (url->path);
|
||||
}
|
||||
|
||||
ptr++;
|
||||
for ( ; *ptr && *ptr == '/'; ptr++);
|
||||
|
||||
folder_name = g_strdup (ptr);
|
||||
|
||||
fprintf (stderr, "getting folder: %s\n", folder_name);
|
||||
|
||||
Reference in New Issue
Block a user