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
This commit is contained in:
@ -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):
|
||||
|
||||
@ -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 ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user