Update gtk bookmarks to work with new gtk3 path

...I hope they will not change this stupid path for each minor release
This commit is contained in:
Davide Andreoli 2015-01-24 14:47:17 +01:00
parent 61816a5ba2
commit 619afde7e5
1 changed files with 6 additions and 1 deletions

View File

@ -292,8 +292,13 @@ _e_mod_fileman_parse_gtk_bookmarks(E_Menu *m,
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))