Search the gtk bookmarks also in the new path
This commit is contained in:
parent
4164923ee5
commit
60269fe129
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue