fix path setting in import dialog

SVN revision: 83151
devs/asdfuser/comp-sounds
Mike Blumenkrantz 10 years ago
parent 3456c9dff2
commit 0183b727d0
  1. 1
      ChangeLog
  2. 1
      NEWS
  3. 6
      src/bin/e_import_dialog.c

@ -5,6 +5,7 @@
* fixed small leak in e_import_config_dialog_show during failure case
* fixed small leak in e_import_dialog_show during failure case
* fixed small leak in illume2 policy config
* fixed path setting in import dialog
2013-01-22 Mike Blumenkrantz

@ -116,3 +116,4 @@ Fixes:
* fixed small leak in e_import_config_dialog_show during failure case
* fixed small leak in e_import_dialog_show during failure case
* fixed small leak in illume2 policy config
* fixed path setting in import dialog

@ -165,15 +165,13 @@ e_import_dialog_show(E_Container *con, const char *dev, const char *path, Ecore_
fpath = path ? : e_config->wallpaper_import_last_path;
if (fdev)
snprintf(buf, sizeof(buf), "%s/%s",
fdev, path);
fdev, fpath);
else
snprintf(buf, sizeof(buf), "%s", path);
snprintf(buf, sizeof(buf), "%s", fpath);
rpath = ecore_file_realpath(buf);
if (!ecore_file_exists(rpath))
fpath = "/";
else
fpath = path ? : e_config->wallpaper_import_last_path;
free(rpath);
if ((!fdev) && (!fpath))

Loading…
Cancel
Save