summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <m.blumenkran@samsung.com>2013-06-17 10:08:46 +0100
committerMike Blumenkrantz <m.blumenkran@samsung.com>2013-06-17 10:08:46 +0100
commita394a20ee624304f73f4e618820fe53982305c1a (patch)
treeedd1cd22fb91b5663460566b81e6c56e5f1de7f5 /src
parentb9cca5a97a5dbce1699593f16b04f5f1f01d5abb (diff)
fix fileman double slash in path setting
phab T161
Diffstat (limited to 'src')
-rw-r--r--src/modules/fileman/e_mod_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/fileman/e_mod_menu.c b/src/modules/fileman/e_mod_menu.c
index b6333fc72..e3e517395 100644
--- a/src/modules/fileman/e_mod_menu.c
+++ b/src/modules/fileman/e_mod_menu.c
@@ -205,7 +205,7 @@ _e_mod_menu_populate_item(void *data, Eio_File *handler __UNUSED__, const Eina_F
205 { 205 {
206 e_util_menu_item_theme_icon_set(mi, "folder"); 206 e_util_menu_item_theme_icon_set(mi, "folder");
207 eina_stringshare_ref(dev); 207 eina_stringshare_ref(dev);
208 e_object_data_set(E_OBJECT(mi), eina_stringshare_printf("%s/%s", path ?: "/", info->path + info->name_start)); 208 e_object_data_set(E_OBJECT(mi), eina_stringshare_printf("%s/%s", path ?: "", info->path + info->name_start));
209 } 209 }
210 e_menu_item_submenu_pre_callback_set(mi, _e_mod_menu_populate, dev); 210 e_menu_item_submenu_pre_callback_set(mi, _e_mod_menu_populate, dev);
211 //fprintf(stderr, "PATH SET: %s\n", e_object_data_get(E_OBJECT(mi))); 211 //fprintf(stderr, "PATH SET: %s\n", e_object_data_get(E_OBJECT(mi)));