aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-config.c
diff options
context:
space:
mode:
authornobody <nobody@localhost>2002-12-06 03:58:38 +0800
committernobody <nobody@localhost>2002-12-06 03:58:38 +0800
commit5e87676c987f884d67fc921acbf8a95bc34851f1 (patch)
treedbf36038cda1070ffb9d92e023654b2bdf1451b4 /shell/e-shell-config.c
parentcf5e09fda7bba7532d7be4b9949f7737a4a418cd (diff)
downloadgsoc2013-evolution-5e87676c987f884d67fc921acbf8a95bc34851f1.tar
gsoc2013-evolution-5e87676c987f884d67fc921acbf8a95bc34851f1.tar.gz
gsoc2013-evolution-5e87676c987f884d67fc921acbf8a95bc34851f1.tar.bz2
gsoc2013-evolution-5e87676c987f884d67fc921acbf8a95bc34851f1.tar.lz
gsoc2013-evolution-5e87676c987f884d67fc921acbf8a95bc34851f1.tar.xz
gsoc2013-evolution-5e87676c987f884d67fc921acbf8a95bc34851f1.tar.zst
gsoc2013-evolution-5e87676c987f884d67fc921acbf8a95bc34851f1.zip
This commit was manufactured by cvs2svn to create tagGNOME_UTILS_2_1_4
'GNOME_UTILS_2_1_4'. svn path=/tags/GNOME_UTILS_2_1_4/; revision=19026
Diffstat (limited to 'shell/e-shell-config.c')
-rw-r--r--shell/e-shell-config.c68
1 files changed, 0 insertions, 68 deletions
diff --git a/shell/e-shell-config.c b/shell/e-shell-config.c
deleted file mode 100644
index 19928c1db6..0000000000
--- a/shell/e-shell-config.c
+++ /dev/null
@@ -1,68 +0,0 @@
-/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
-/* e-shell-config.c
- *
- * Copyright (C) 2002 Ximian, Inc.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of version 2 of the GNU General Public
- * License as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public
- * License along with this program; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- */
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include "e-shell-config.h"
-
-#include "e-shell-config-folder-settings.h"
-#include "evolution-config-control.h"
-#include "evolution-folder-selector-button.h"
-
-#include <bonobo/bonobo-generic-factory.h>
-
-
-#define E_SHELL_CONFIG_FACTORY_OAFIID "OAFIID:GNOME_Evolution_Shell_Config_Factory"
-
-#define E_SHELL_CONFIG_FOLDER_SETTINGS_OAFIID "OAFIID:GNOME_Evolution_Shell_Config_FolderSettings_Control"
-
-
-static BonoboObject *
-config_control_factory_cb (BonoboGenericFactory *factory,
- const char *component_id,
- gpointer shell)
-{
- if (!strcmp (component_id, E_SHELL_CONFIG_FOLDER_SETTINGS_OAFIID))
- return e_shell_config_folder_settings_create_control (shell);
- else {
- g_assert_not_reached();
- return NULL;
- }
-}
-
-gboolean
-e_shell_config_factory_register (EShell *shell)
-{
- BonoboGenericFactory *factory;
-
- g_return_val_if_fail (E_IS_SHELL (shell), FALSE);
-
- factory = bonobo_generic_factory_new (E_SHELL_CONFIG_FACTORY_OAFIID,
- config_control_factory_cb,
- shell);
-
- if (factory == NULL) {
- g_warning ("Cannot register factory %s", E_SHELL_CONFIG_FACTORY_OAFIID);
- return FALSE;
- }
- return TRUE;
-}