aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-settings-dialog.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-03-10 11:05:52 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-03-10 11:05:52 +0800
commit1fc604a650231eac715076ce65ba9c3a100e7a26 (patch)
tree8d912a07f2e799ec752b9eddea635e369862ccd0 /shell/e-shell-settings-dialog.c
parent72906c59d7855548865489e8f0e5080e57d19a60 (diff)
downloadgsoc2013-evolution-1fc604a650231eac715076ce65ba9c3a100e7a26.tar.gz
gsoc2013-evolution-1fc604a650231eac715076ce65ba9c3a100e7a26.tar.zst
gsoc2013-evolution-1fc604a650231eac715076ce65ba9c3a100e7a26.zip
Use ECorbaConfigPages.
* e-shell-settings-dialog.c (load_pages): Use ECorbaConfigPages. * e-corba-config-page.c: New. * e-corba-config-page.h: New. * Evolution.idl: #include <Evolution-ConfigControl.idl>. * Evolution-ConfigControl.idl: New IDL for configuration Controls that will be displayed in the global config dialog. svn path=/trunk/; revision=16007
Diffstat (limited to 'shell/e-shell-settings-dialog.c')
-rw-r--r--shell/e-shell-settings-dialog.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/shell/e-shell-settings-dialog.c b/shell/e-shell-settings-dialog.c
index 139344fbe1..d30fe5c6e8 100644
--- a/shell/e-shell-settings-dialog.c
+++ b/shell/e-shell-settings-dialog.c
@@ -27,6 +27,8 @@
#include "e-shell-settings-dialog.h"
+#include "e-corba-config-page.h"
+
#include <gal/util/e-util.h>
#include <bonobo/bonobo-widget.h>
@@ -99,13 +101,10 @@ load_pages (EShellSettingsDialog *dialog)
icon = gdk_pixbuf_new_from_file (icon_path);
corba_object = oaf_activate_from_id ((char *) info->iid, 0, NULL, &ev);
- if (ev._major == CORBA_NO_EXCEPTION) {
- GtkWidget *widget;
-
- widget = bonobo_widget_new_control_from_objref (corba_object, CORBA_OBJECT_NIL);
+ if (ev._major == CORBA_NO_EXCEPTION)
e_multi_config_dialog_add_page (E_MULTI_CONFIG_DIALOG (dialog),
- title, description, icon, widget);
- }
+ title, description, icon,
+ E_CONFIG_PAGE (e_corba_config_page_new_from_objref (corba_object)));
if (icon != NULL)
gdk_pixbuf_unref (icon);