Search the gtk bookmarks also in the new path

This commit is contained in:
Davide Andreoli 2015-01-12 00:09:49 +01:00
parent 4164923ee5
commit 60269fe129
1 changed files with 6 additions and 1 deletions

View File

@ -736,8 +736,13 @@ _places_bookmarks_parse(E_Menu *em)
char *alias;
FILE* fp;
snprintf(buf, sizeof(buf), "%s/.gtk-bookmarks", e_user_homedir_get());
snprintf(buf, sizeof(buf), "%s/gtk-3.0/bookmarks", efreet_config_home_get());
fp = fopen(buf, "r");
if (!fp)
{
snprintf(buf, sizeof(buf), "%s/.gtk-bookmarks", e_user_homedir_get());
fp = fopen(buf, "r");
}
if (fp)
{
while(fgets(line, sizeof(line), fp))