diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-03-20 23:38:33 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-03-20 23:49:46 +0800 |
commit | 6c569e64af88867f2a0007f1fb047a00fb8f9ef0 (patch) | |
tree | ff1cc1273830b0d14b2c76b91b2bfdbf3cc54d87 /shell/e-shell.c | |
parent | 185b7b2a0b5641bdfafd440568d11c4521c42573 (diff) | |
download | gsoc2013-evolution-6c569e64af88867f2a0007f1fb047a00fb8f9ef0.tar gsoc2013-evolution-6c569e64af88867f2a0007f1fb047a00fb8f9ef0.tar.gz gsoc2013-evolution-6c569e64af88867f2a0007f1fb047a00fb8f9ef0.tar.bz2 gsoc2013-evolution-6c569e64af88867f2a0007f1fb047a00fb8f9ef0.tar.lz gsoc2013-evolution-6c569e64af88867f2a0007f1fb047a00fb8f9ef0.tar.xz gsoc2013-evolution-6c569e64af88867f2a0007f1fb047a00fb8f9ef0.tar.zst gsoc2013-evolution-6c569e64af88867f2a0007f1fb047a00fb8f9ef0.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.c | 8 |
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 (); |