2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
* shell/main.c (load_files):
use gnome_vfs_make_uri_from_shell_arg so that relative paths work
from the command line and because it seems more appropriate.
+2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
+
+ * shell/main.c (load_files):
+
+ use gnome_vfs_make_uri_from_shell_arg so that relative paths work
+ from the command line and because it seems more appropriate.
+
2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
* data/evince-ui.xml:
}
for (i = 0; files[i]; i++) {
- const char *uri;
- char *freeme = NULL;
- char *scheme;
-
- if ((scheme = gnome_vfs_get_uri_scheme (files[i])))
- uri = files[i];
- else
- uri = freeme = gnome_vfs_get_uri_from_local_path (files[i]);
-
+ char *uri;
+
+ uri = gnome_vfs_make_uri_from_shell_arg (files[i]);
+
window = GTK_WIDGET (ev_application_new_window (EV_APP));
gtk_widget_show (window);
ev_window_open (EV_WINDOW (window), uri);
- g_free (scheme);
- g_free (freeme);
+ g_free (uri);
}
}