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:
parent
61816a5ba2
commit
619afde7e5
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue