From 3bedc38a9480532b83e4bfeb386f4bbd7b611b38 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 29 Jun 2000 07:37:55 +0000 Subject: Implement saving of configuration information. Now when you run Evolution it will display the same folder as the last time, and will hide/show the shortcut/folder bars as the last time. This uses GConf so I also put a GConf check into configure.in. svn path=/trunk/; revision=3787 --- shell/e-shell.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'shell/e-shell.h') diff --git a/shell/e-shell.h b/shell/e-shell.h index cf29daad9b..e9ccaa096f 100644 --- a/shell/e-shell.h +++ b/shell/e-shell.h @@ -29,6 +29,7 @@ #endif #include +#include #include "Evolution.h" #include "e-shortcuts.h" @@ -65,9 +66,11 @@ struct _EShellClass { GtkType e_shell_get_type (void); void e_shell_construct (EShell *shell, Evolution_Shell corba_object, - const char *local_directory); + const char *local_directory, + GConfClient *gconf_client); -EShell *e_shell_new (const char *local_directory); +EShell *e_shell_new (const char *local_directory, + GConfClient *gconf_client); GtkWidget *e_shell_new_view (EShell *shell, const char *uri); @@ -75,6 +78,9 @@ EShortcuts *e_shell_get_shortcuts (EShell *shell); EStorageSet *e_shell_get_storage_set (EShell *shell); EFolderTypeRegistry *e_shell_get_folder_type_registry (EShell *shell); +gboolean e_shell_save_settings (EShell *shell); +gboolean e_shell_restore_from_settings (EShell *shell); + void e_shell_quit (EShell *shell); #ifdef __cplusplus -- cgit