aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.h
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-06-29 15:37:55 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-06-29 15:37:55 +0800
commit3bedc38a9480532b83e4bfeb386f4bbd7b611b38 (patch)
tree1a33af67a5949913ca02be4c39d4f8acde34c436 /shell/e-shell.h
parent31e562c685d59c22fa1f241aa549bf8867042657 (diff)
downloadgsoc2013-evolution-3bedc38a9480532b83e4bfeb386f4bbd7b611b38.tar.gz
gsoc2013-evolution-3bedc38a9480532b83e4bfeb386f4bbd7b611b38.tar.zst
gsoc2013-evolution-3bedc38a9480532b83e4bfeb386f4bbd7b611b38.zip
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
Diffstat (limited to 'shell/e-shell.h')
-rw-r--r--shell/e-shell.h10
1 files changed, 8 insertions, 2 deletions
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 <bonobo/bonobo-object.h>
+#include <gconf/gconf-client.h>
#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