View | Details | Raw Unified | Return to bug 101623
Collapse All | Expand All

(-)viewer.c Mon Aug 7 23:34:38 2006 (-4 / +4 lines)
Lines 34-40 Link Here
34
  if (!file_to_load)
34
  if (!file_to_load)
35
    return;
35
    return;
36
  if (file_to_load[0] != '/')
36
  if (file_to_load[0] != '/')
37
    sprintf (buf, "%s/.enlightenment/%s", homedir (getuid ()), file_to_load);
37
    sprintf (buf, "%s/.e16/menus/%s", homedir (getuid ()), file_to_load);
38
  else
38
  else
39
    sprintf (buf, "%s", file_to_load);
39
    sprintf (buf, "%s", file_to_load);
40
40
Lines 108-114 Link Here
108
  GtkCTreeNode *parent = NULL;
108
  GtkCTreeNode *parent = NULL;
109
109
110
  /* currently hardcoded, but not a big issue to change later */
110
  /* currently hardcoded, but not a big issue to change later */
111
  sprintf (buf, "%s/.enlightenment/file.menu", homedir (getuid ()));
111
  sprintf (buf, "%s/.e16/menus/file.menu", homedir (getuid ()));
112
  menufile = fopen (buf, "r");
112
  menufile = fopen (buf, "r");
113
  if (!menufile)
113
  if (!menufile)
114
    {
114
    {
Lines 564-570 Link Here
564
  gint retval = 0;
564
  gint retval = 0;
565
565
566
  buf =
566
  buf =
567
    g_strjoin ("/", homedir (getuid ()), ".enlightenment", "file.menu", NULL);
567
    g_strjoin ("/", homedir (getuid ()), ".e16/menus", "file.menu", NULL);
568
568
569
  node =
569
  node =
570
    gtk_ctree_export_to_gnode (GTK_CTREE (ctree), NULL, NULL,
570
    gtk_ctree_export_to_gnode (GTK_CTREE (ctree), NULL, NULL,
Lines 683-689 Link Here
683
    {
683
    {
684
      /* Tarnation! A relative path */
684
      /* Tarnation! A relative path */
685
      realfile =
685
      realfile =
686
       g_strjoin ("/", homedir (getuid ()), ".enlightenment", file, NULL);
686
       g_strjoin ("/", homedir (getuid ()), ".e16/menus", file, NULL);
687
    }
687
    }
688
  else
688
  else
689
    realfile = g_strdup (file);
689
    realfile = g_strdup (file);

Return to bug 101623