aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-04-11 03:01:14 +0800
committerDan Winship <danw@src.gnome.org>2002-04-11 03:01:14 +0800
commit8ded5c9c10e4079fded6889ec4b10c37226468d4 (patch)
tree46bc039454a21d53d478af5f069816b2e4f872a5 /shell/main.c
parenteaeb675f415f5f672cdcd5b4774356d1ca383fa1 (diff)
downloadgsoc2013-evolution-8ded5c9c10e4079fded6889ec4b10c37226468d4.tar.gz
gsoc2013-evolution-8ded5c9c10e4079fded6889ec4b10c37226468d4.tar.zst
gsoc2013-evolution-8ded5c9c10e4079fded6889ec4b10c37226468d4.zip
Shell config page routines. Right now handles the default folders page.
* e-shell-config.c: Shell config page routines. Right now handles the default folders page. * glade/e-shell-config-default-folders.glade: New. * GNOME_Evolution_Shell.oaf.in: Add info for the default folders config page. * main.c (idle_cb): If we successfully registered the shell, register the config factory. * evolution-shell-client.c (evolution_shell_client_new): Note the fact that it frees the corba_shell when it is destroyed. * evolution-folder-selector-button.c (evolution_folder_selector_button_construct, destroy): Use bonobo_object_ref/unref on the shell client, not gtk. * e-shell.c (e_shell_construct): Pass local_directory to e_setup_check_db. (handle_default_uri): Fix the config db paths here to match the other routines. * e-setup.c (e_setup_check_db): Make this take the evolution directory path as well so we can properly set up file: URIs for the default folders. svn path=/trunk/; revision=16423
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/main.c b/shell/main.c
index 31832ab5e4..efb0294b6f 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -54,6 +54,7 @@
#include "e-util/e-gtk-utils.h"
#include "e-shell-constants.h"
+#include "e-shell-config.h"
#include "e-setup.h"
#include "e-shell.h"
@@ -209,6 +210,8 @@ idle_cb (void *data)
switch (result) {
case E_SHELL_CONSTRUCT_RESULT_OK:
+ e_shell_config_factory_register (shell);
+
gtk_signal_connect (GTK_OBJECT (shell), "no_views_left",
GTK_SIGNAL_FUNC (no_views_left_cb), NULL);
gtk_signal_connect (GTK_OBJECT (shell), "destroy",