e-modules/evry-places: we can only handle file:// uris
SVN revision: 58463
This commit is contained in:
parent
8276cd4561
commit
ef588d03e3
|
@ -76,6 +76,9 @@ _gtk_bookmarks_add(Plugin *p)
|
||||||
|
|
||||||
while(fgets(line, sizeof(line), fp))
|
while(fgets(line, sizeof(line), fp))
|
||||||
{
|
{
|
||||||
|
if (strncmp(line, "file://", 7))
|
||||||
|
continue;
|
||||||
|
|
||||||
alias = NULL;
|
alias = NULL;
|
||||||
line[strlen(line) - 1] = '\0';
|
line[strlen(line) - 1] = '\0';
|
||||||
alias = strchr(line, ' ');
|
alias = strchr(line, ' ');
|
||||||
|
|
Loading…
Reference in New Issue