Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_fdo_menu_to_order.c
Log Message:
Use e's homedir
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fdo_menu_to_order.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- e_fdo_menu_to_order.c 23 Sep 2006 08:44:58 -0000 1.15
+++ e_fdo_menu_to_order.c 23 Sep 2006 10:15:24 -0000 1.16
@@ -68,7 +68,7 @@
if (order_data.sheap)
{
ecore_sheap_set_free_cb(order_data.sheap, free);
- snprintf(order_data.order_path, sizeof(order_data.order_path),
"%s/.e/e/applications/menu/all/%s", ecore_desktop_home_get(), path);
+ snprintf(order_data.order_path, sizeof(order_data.order_path),
"%s/.e/e/applications/menu/all/%s", e_user_homedir_get(), path);
/* Check if we need to create the directory. */
if (!ecore_file_exists(order_data.order_path))
{
@@ -124,7 +124,7 @@
printf("MAKING MENU ITEM %s -> %s (%s)\n", order_data->order_path,
file, key);
#endif
item_count++;
- snprintf(path2, sizeof(path2), "%s/.e/e/applications/all/%s",
ecore_desktop_home_get(), key);
+ snprintf(path2, sizeof(path2), "%s/.e/e/applications/all/%s",
e_user_homedir_get(), key);
if (!ecore_file_exists(path2))
ecore_file_symlink(file, path2);
ecore_sheap_insert(order_data->sheap, strdup(key));
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs