aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-28 03:09:51 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-28 03:09:51 +0800
commit7ba6cdfb3fb4727ec14cbcb9927dded050dbcc15 (patch)
treead8d72b8ed4a505a46638ff1c34de57abbf5de30
parentaf5e0c337633c1a40fcf9bfdab0aed3d5ce8e4f6 (diff)
downloadgsoc2013-epiphany-7ba6cdfb3fb4727ec14cbcb9927dded050dbcc15.tar
gsoc2013-epiphany-7ba6cdfb3fb4727ec14cbcb9927dded050dbcc15.tar.gz
gsoc2013-epiphany-7ba6cdfb3fb4727ec14cbcb9927dded050dbcc15.tar.bz2
gsoc2013-epiphany-7ba6cdfb3fb4727ec14cbcb9927dded050dbcc15.tar.lz
gsoc2013-epiphany-7ba6cdfb3fb4727ec14cbcb9927dded050dbcc15.tar.xz
gsoc2013-epiphany-7ba6cdfb3fb4727ec14cbcb9927dded050dbcc15.tar.zst
gsoc2013-epiphany-7ba6cdfb3fb4727ec14cbcb9927dded050dbcc15.zip
Revert escape/unescape, according to teuf is not necessary ;)
2003-06-27 Marco Pesenti Gritti <marco@it.gnome.org> * src/window-commands.c: (window_cmd_file_open): Revert escape/unescape, according to teuf is not necessary ;)
-rw-r--r--ChangeLog6
-rw-r--r--src/window-commands.c13
2 files changed, 10 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 30c165903..9450887fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2003-06-27 Marco Pesenti Gritti <marco@it.gnome.org>
+ * src/window-commands.c: (window_cmd_file_open):
+
+ Revert escape/unescape, according to teuf is not necessary ;)
+
+2003-06-27 Marco Pesenti Gritti <marco@it.gnome.org>
+
* embed/ephy-embed.c: (ephy_embed_base_init):
* embed/ephy-embed.h:
* embed/mozilla/mozilla-embed.cpp:
diff --git a/src/window-commands.c b/src/window-commands.c
index 5c2fefa98..10e154293 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -304,7 +304,8 @@ void
window_cmd_file_open (EggAction *action,
EphyWindow *window)
{
- char *dir, *retDir, *file, *uri_spec;
+ gchar *dir, *retDir;
+ gchar *file;
GnomeVFSURI *uri;
GtkWidget *wmain;
EphyEmbedShell *embed_shell;
@@ -327,20 +328,15 @@ window_cmd_file_open (EggAction *action,
dir, NULL, modeOpen,
&file, NULL, NULL);
- uri_spec = gnome_vfs_make_uri_from_input (file);
- uri = gnome_vfs_uri_new (uri_spec);
+ uri = gnome_vfs_uri_new (file);
if (uri)
{
- char *unescaped_dir;
-
retDir = gnome_vfs_uri_extract_dirname (uri);
- unescaped_dir = gnome_vfs_unescape_string (retDir, "/");
/* set default open dir */
eel_gconf_set_string (CONF_STATE_OPEN_DIR,
- unescaped_dir);
+ retDir);
- g_free (unescaped_dir);
g_free (retDir);
gnome_vfs_uri_unref (uri);
@@ -350,7 +346,6 @@ window_cmd_file_open (EggAction *action,
}
}
- g_free (uri_spec);
g_free (file);
g_free (dir);
}