aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-03-20 23:38:33 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-04-08 01:09:42 +0800
commitcd7fadfcdbbf983dbee379d55bd8a6e44351e8fa (patch)
tree5044b6791c6849bc26710c0159cd813904b836c2 /shell/e-shell.c
parent5c43eaf3ddb344cc14f7a30dd73330f027794620 (diff)
downloadgsoc2013-evolution-cd7fadfcdbbf983dbee379d55bd8a6e44351e8fa.tar
gsoc2013-evolution-cd7fadfcdbbf983dbee379d55bd8a6e44351e8fa.tar.gz
gsoc2013-evolution-cd7fadfcdbbf983dbee379d55bd8a6e44351e8fa.tar.bz2
gsoc2013-evolution-cd7fadfcdbbf983dbee379d55bd8a6e44351e8fa.tar.lz
gsoc2013-evolution-cd7fadfcdbbf983dbee379d55bd8a6e44351e8fa.tar.xz
gsoc2013-evolution-cd7fadfcdbbf983dbee379d55bd8a6e44351e8fa.tar.zst
gsoc2013-evolution-cd7fadfcdbbf983dbee379d55bd8a6e44351e8fa.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 ();