e-modules/evry-places: we can only handle file:// uris

SVN revision: 58463
This commit is contained in:
Hannes Janetzek 2011-04-07 18:33:37 +00:00
parent 8276cd4561
commit ef588d03e3
1 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,9 @@ _gtk_bookmarks_add(Plugin *p)
while(fgets(line, sizeof(line), fp))
{
if (strncmp(line, "file://", 7))
continue;
alias = NULL;
line[strlen(line) - 1] = '\0';
alias = strchr(line, ' ');