* shell/ev-job-xfer.c: (ev_job_xfer_run): Append
real filename to tmp filename since often document
type is determined by extension.
+2006-01-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
+
+ * shell/ev-job-xfer.c: (ev_job_xfer_run): Append
+ real filename to tmp filename since often document
+ type is determined by extension.
+
2006-01-24 Ricardo Markiewicz <rmarkie@fi.uba.ar>
* shell/ev-view.c: (add_scroll_binding_keypad),
source_uri = gnome_vfs_uri_new (job->uri);
if (!gnome_vfs_uri_is_local (source_uri)) {
char *tmp_name;
+ char *base_name;
tmp_name = ev_tmp_filename ();
- job->local_uri = g_strconcat ("file:", tmp_name, NULL);
+ base_name = g_path_get_basename (job->uri);
+ job->local_uri = g_strconcat ("file:", tmp_name, base_name, NULL);
g_free (tmp_name);
target_uri = gnome_vfs_uri_new (job->local_uri);