aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorIain Holmes <iain@helixcode.com>2000-10-20 02:06:24 +0800
committerIain Holmes <iain@src.gnome.org>2000-10-20 02:06:24 +0800
commit9a867b6f7b2e0d88e097fa85bc9c3742566a515d (patch)
treebb1c346ec8311ada28d9cfa060ab9e0a10a408b4 /shell
parent329fe7df32a9114d2d293176f6303d50742b2b26 (diff)
downloadgsoc2013-evolution-9a867b6f7b2e0d88e097fa85bc9c3742566a515d.tar
gsoc2013-evolution-9a867b6f7b2e0d88e097fa85bc9c3742566a515d.tar.gz
gsoc2013-evolution-9a867b6f7b2e0d88e097fa85bc9c3742566a515d.tar.bz2
gsoc2013-evolution-9a867b6f7b2e0d88e097fa85bc9c3742566a515d.tar.lz
gsoc2013-evolution-9a867b6f7b2e0d88e097fa85bc9c3742566a515d.tar.xz
gsoc2013-evolution-9a867b6f7b2e0d88e097fa85bc9c3742566a515d.tar.zst
gsoc2013-evolution-9a867b6f7b2e0d88e097fa85bc9c3742566a515d.zip
If there is no view save the default uri instead. (socket_destroy_cb):
2000-10-19 Iain Holmes <iain@helixcode.com> * e-shell-view.c (e_shell_view_save_settings): If there is no view save the default uri instead. (socket_destroy_cb): When a view crashes, change the view to the default one. svn path=/trunk/; revision=6036
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/e-shell-view.c4
2 files changed, 10 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 3f376af774..ef5755c5ec 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,10 @@
+2000-10-19 Iain Holmes <iain@helixcode.com>
+
+ *e-shell-view.c (e_shell_view_save_settings): If there is no view
+ save the default uri instead.
+ (socket_destroy_cb): When a view crashes, change the view to the
+ default one.
+
2000-10-18 Michael Meeks <michael@helixcode.com>
* evolution-shell-component.c (impl_ShellComponent_populate_folder_context_menu):
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 18d1fe26a4..d75ba021d0 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -1135,6 +1135,8 @@ socket_destroy_cb (GtkWidget *socket_widget, gpointer data)
uri, e_folder_get_type_string (folder));
g_free (copy_of_uri);
+
+ e_shell_view_display_uri (shell_view, DEFAULT_URI);
}
@@ -1528,7 +1530,7 @@ e_shell_view_save_settings (EShellView *shell_view,
if (uri != NULL)
gnome_config_set_string ("DisplayedURI", uri);
else
- gnome_config_clean_section ("DisplayedURI");
+ gnome_config_set_string ("DisplayedURI", DEFAULT_URI);
gnome_config_pop_prefix ();