diff options
Diffstat (limited to 'shell/e-shell-nm-glib.c')
-rw-r--r-- | shell/e-shell-nm-glib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/e-shell-nm-glib.c b/shell/e-shell-nm-glib.c index a85cfd50f4..e14a2afee8 100644 --- a/shell/e-shell-nm-glib.c +++ b/shell/e-shell-nm-glib.c @@ -48,7 +48,7 @@ static void e_shell_glib_network_monitor (libnm_glib_ctx *ctx, gpointer user_dat if (line_status == E_SHELL_LINE_STATUS_ONLINE && state == LIBNM_NO_NETWORK_CONNECTION) { shell_state = GNOME_Evolution_FORCED_OFFLINE; - e_shell_go_offline (shell, window, shell_state); + e_shell_go_offline (shell, window, shell_state); } else if (line_status == E_SHELL_LINE_STATUS_OFFLINE && state == LIBNM_ACTIVE_NETWORK_CONNECTION) { shell_state = GNOME_Evolution_USER_ONLINE; e_shell_go_online (shell, window, shell_state); @@ -66,11 +66,11 @@ int e_shell_nm_glib_initialise (EShellWindow *window) if (!nm_ctx) { fprintf (stderr, "Could not initialize libnm.\n"); return FALSE; - } + } } id = libnm_glib_register_callback (nm_ctx, e_shell_glib_network_monitor, window, NULL); - + return TRUE; } |