aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-04-04 00:57:27 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-04-04 00:57:27 +0800
commitd5dc15ddf0ff2a0e5a08887f740d6e009de1024a (patch)
treec091c4e519824cd2fa2c7d00a60a382899b648ba /shell/e-shell-view.c
parent2a49ef6020c589c05ab30deb10165059b39db1a1 (diff)
downloadgsoc2013-evolution-d5dc15ddf0ff2a0e5a08887f740d6e009de1024a.tar
gsoc2013-evolution-d5dc15ddf0ff2a0e5a08887f740d6e009de1024a.tar.gz
gsoc2013-evolution-d5dc15ddf0ff2a0e5a08887f740d6e009de1024a.tar.bz2
gsoc2013-evolution-d5dc15ddf0ff2a0e5a08887f740d6e009de1024a.tar.lz
gsoc2013-evolution-d5dc15ddf0ff2a0e5a08887f740d6e009de1024a.tar.xz
gsoc2013-evolution-d5dc15ddf0ff2a0e5a08887f740d6e009de1024a.tar.zst
gsoc2013-evolution-d5dc15ddf0ff2a0e5a08887f740d6e009de1024a.zip
Pulled up fixes from evolution-0-10-branch.
svn path=/trunk/; revision=9133
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r--shell/e-shell-view.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 12f87a217c..28fc43a761 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -1452,6 +1452,9 @@ show_existing_view (EShellView *shell_view,
gtk_widget_show (control);
}
+ g_free (priv->uri);
+ priv->uri = g_strdup (uri);
+
set_current_notebook_page (shell_view, notebook_page);
return TRUE;
@@ -1471,6 +1474,9 @@ create_new_view_for_uri (EShellView *shell_view,
if (control == NULL)
return FALSE;
+ g_free (priv->uri);
+ priv->uri = g_strdup (uri);
+
gtk_widget_show (control);
gtk_notebook_append_page (GTK_NOTEBOOK (priv->notebook), control, NULL);
@@ -1532,9 +1538,6 @@ e_shell_view_display_uri (EShellView *shell_view,
goto end;
}
- g_free (priv->uri);
- priv->uri = g_strdup (uri);
-
retval = TRUE;
end: