From c357c638049b6a83ec05fa95f236818e8d0528e5 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 8 Apr 2002 15:30:02 +0000 Subject: Fix "evolution evolution:/path/to/folder" to use default view prefs. * e-shell.c (impl_Shell_createNewView): Use e_shell_create_view_from_uri_and_settings to create the new view based on saved view 0 instead of always using the initial evolution defaults. (e_shell_create_view_from_uri_and_settings): Renamed and simplified; the template_view argument was useless and settings_found would always be set to TRUE in the context it was being used it. (e_shell_restore_from_settings): Simplify for e_shell_create_view_from_uri_and_settings changes. * e-shell-view.c (e_shell_view_load_settings): Only load the DisplayedURI if the view isn't already displaying a URI. Also, pass an &ev to the first bonobo_config_get_long so we can tell if it failed and bail out. * e-shell-view.h: Remove a prototype for a non-existent function (e_shell_view_remove_control_for_uri). * main.c (idle_cb): Add some comments here and remove some dead code. svn path=/trunk/; revision=16389 --- shell/ChangeLog | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'shell/ChangeLog') diff --git a/shell/ChangeLog b/shell/ChangeLog index 8e4276c7eb..2c18525284 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,30 @@ +2002-04-08 Dan Winship + + Fix "evolution evolution:/path/to/folder" to use default view + prefs. + + * e-shell.c (impl_Shell_createNewView): Use + e_shell_create_view_from_uri_and_settings to create the new view + based on saved view 0 instead of always using the initial + evolution defaults. + (e_shell_create_view_from_uri_and_settings): Renamed and + simplified; the template_view argument was useless and + settings_found would always be set to TRUE in the context it was + being used it. + (e_shell_restore_from_settings): Simplify for + e_shell_create_view_from_uri_and_settings changes. + + * e-shell-view.c (e_shell_view_load_settings): Only load the + DisplayedURI if the view isn't already displaying a URI. Also, + pass an &ev to the first bonobo_config_get_long so we can tell if + it failed and bail out. + + * e-shell-view.h: Remove a prototype for a non-existent function + (e_shell_view_remove_control_for_uri). + + * main.c (idle_cb): Add some comments here and remove some dead + code. + 2002-04-06 JP Rosevear * e-shell-settings-dialog.c (page_new): set type -- cgit v1.2.3