forked from enlightenment/enlightenment
parent
384a49358f
commit
215051a900
|
@ -226,7 +226,9 @@ _e_mod_action_fileman_cb(E_Object *obj, const char *params)
|
||||||
static void
|
static void
|
||||||
_e_mod_menu_gtk_cb(void *data, E_Menu *m, E_Menu_Item *mi)
|
_e_mod_menu_gtk_cb(void *data, E_Menu *m, E_Menu_Item *mi)
|
||||||
{
|
{
|
||||||
char *path = data;
|
char *path;
|
||||||
|
|
||||||
|
if (!(path = data)) return;
|
||||||
if (m->zone) e_fwin_new(m->zone->container, NULL, path);
|
if (m->zone) e_fwin_new(m->zone->container, NULL, path);
|
||||||
eina_stringshare_del(path);
|
eina_stringshare_del(path);
|
||||||
}
|
}
|
||||||
|
@ -296,7 +298,7 @@ _e_mod_fileman_parse_gtk_bookmarks(E_Menu *m, Eina_Bool need_separator)
|
||||||
ecore_file_file_get(uri->path));
|
ecore_file_file_get(uri->path));
|
||||||
e_util_menu_item_theme_icon_set(mi, "folder");
|
e_util_menu_item_theme_icon_set(mi, "folder");
|
||||||
e_menu_item_callback_set(mi, _e_mod_menu_gtk_cb,
|
e_menu_item_callback_set(mi, _e_mod_menu_gtk_cb,
|
||||||
eina_stringshare_add(uri->path));
|
(void *)eina_stringshare_add(uri->path));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (uri) efreet_uri_free(uri);
|
if (uri) efreet_uri_free(uri);
|
||||||
|
|
Loading…
Reference in New Issue