Removed hard-coded paths which are not used in tizen
authorGwanglim Lee <gl77.lee@samsung.com>
Mon, 7 Mar 2016 02:41:22 +0000 (11:41 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Mon, 7 Mar 2016 02:51:43 +0000 (11:51 +0900)
Change-Id: Iec37eb4b2597befafccfdd92d9ae531de0b248d2

src/bin/e_fm_device.c
src/bin/e_xsettings.c
src/modules/conf_menus/e_int_config_menus.c

index a7a252e0a3be8dbc56ba5da28b037b0a6c4db1df..1e166c5b5ba41ad75dbd49b2899722e1e0a50ea0 100644 (file)
@@ -258,14 +258,6 @@ e_fm2_device_volume_add(E_Volume *v)
              v->mount_point = NULL;
              id = "disk";
              if ((v->uuid) && (v->uuid[0])) id = v->uuid;
-             if (ecore_file_is_dir("/media"))
-               snprintf(buf, sizeof(buf), "/media/%s", id);
-             else if (ecore_file_is_dir("/mnt"))
-               snprintf(buf, sizeof(buf), "/mnt/%s", id);
-             else if (ecore_file_is_dir("/tmp"))
-               snprintf(buf, sizeof(buf), "/tmp/%s", id);
-             else
-               buf[0] = 0;
              v->mount_point = eina_stringshare_add(buf);
           }
      }
index 87bd0625c3abc8c256b02e06cf68719ec36e2a82..a302147f1313ca11619fb41dbca7be348471b2da 100644 (file)
@@ -573,7 +573,6 @@ _e_xsettings_cursor_path_set(void)
      }
    else
      {
-        snprintf(env, sizeof(env), "%s:%s", buf, "/usr/share/icons");
         path = env;
      }
    e_env_set("XCURSOR_PATH", path);
index 39ab2f5105ef1f2dfad15982bc834a2b61c800d9..0c1834f008a9baa762c7a49dfb6e1069c15d7776 100644 (file)
@@ -107,15 +107,6 @@ get_menus(Eina_List **menus)
    char buf[PATH_MAX];
    const char *dirs[] =
      {
-        "/etc/xdg",
-        "/usr/etc/xdg",
-        "/usr/local/etc/xdg",
-        "/usr/opt/etc/xdg",
-        "/usr/opt/xdg",
-        "/usr/local/opt/etc/xdg",
-        "/usr/local/opt/xdg",
-        "/opt/etc/xdg",
-        "/opt/xdg",
         // FIXME: add more "known locations"
         NULL
      };