aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-03-20 23:38:33 +0800
committerMichael Meeks <michael.meeks@novell.com>2010-04-07 19:13:02 +0800
commitb674497bccae2ec2ac914714d34961a9517a8aa7 (patch)
tree599aee6c071255d3944a102fbd448a17ecaa322c /shell/e-shell.c
parenta718e57b258d993e8427bff2ee8a4eccf89a582f (diff)
downloadgsoc2013-evolution-b674497bccae2ec2ac914714d34961a9517a8aa7.tar
gsoc2013-evolution-b674497bccae2ec2ac914714d34961a9517a8aa7.tar.gz
gsoc2013-evolution-b674497bccae2ec2ac914714d34961a9517a8aa7.tar.bz2
gsoc2013-evolution-b674497bccae2ec2ac914714d34961a9517a8aa7.tar.lz
gsoc2013-evolution-b674497bccae2ec2ac914714d34961a9517a8aa7.tar.xz
gsoc2013-evolution-b674497bccae2ec2ac914714d34961a9517a8aa7.tar.zst
gsoc2013-evolution-b674497bccae2ec2ac914714d34961a9517a8aa7.zip
Convert NetworkManager integration to an EShell extension.
This demonstrates how to extend EShell without having to modify and recompile e-shell.c. If NetworkManager integration is enabled, the extension is loaded automatically when the EShell is created. The same pattern can be applied to integrate other network monitoring software like ConnMan or Microsoft's Wireless Zero Configuration.
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 8bbcde784d..459ebdc64a 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -98,10 +98,6 @@ static GDebugKey debug_keys[] = {
static gpointer default_shell;
static guint signals[LAST_SIGNAL];
-#if defined(NM_SUPPORT) && NM_SUPPORT
-gboolean e_shell_dbus_initialize (EShell *shell);
-#endif
-
G_DEFINE_TYPE_WITH_CODE (
EShell, e_shell, UNIQUE_TYPE_APP,
G_IMPLEMENT_INTERFACE (E_TYPE_EXTENSIBLE, NULL))
@@ -1087,10 +1083,6 @@ e_shell_init (EShell *shell)
g_object_ref_sink (shell->priv->preferences_window);
-#if defined(NM_SUPPORT) && NM_SUPPORT
- e_shell_dbus_initialize (shell);
-#endif
-
/* Add our icon directory to the theme's search path
* here instead of in main() so Anjal picks it up. */
icon_theme = gtk_icon_theme_get_default ();