From b7333387e8bd19299794e6485e3407d03c2eb73f Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 14 Dec 2008 02:14:41 +0000 Subject: - Fix NetworkManager connection tracking. - Implement offline preparation as an EActivity that gets broadcast in a signal to shell modules. Offline preparations are complete when the last EActivity reference is dropped. - Bind some of the composer preferences to EShellSettings properties. svn path=/branches/kill-bonobo/; revision=36875 --- shell/e-shell.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'shell/e-shell.h') diff --git a/shell/e-shell.h b/shell/e-shell.h index 79ff9c1783..e482f93960 100644 --- a/shell/e-shell.h +++ b/shell/e-shell.h @@ -74,13 +74,6 @@ struct _EShellClass { GObjectClass parent_class; }; -enum _EShellLineStatus { - E_SHELL_LINE_STATUS_ONLINE, - E_SHELL_LINE_STATUS_GOING_OFFLINE, /* NB: really means changing state in either direction */ - E_SHELL_LINE_STATUS_OFFLINE, - E_SHELL_LINE_STATUS_FORCED_OFFLINE -}; - GType e_shell_get_type (void); EShell * e_shell_get_default (void); GList * e_shell_list_modules (EShell *shell); @@ -97,13 +90,12 @@ gboolean e_shell_handle_uri (EShell *shell, const gchar *uri); void e_shell_send_receive (EShell *shell, GtkWindow *parent); +gboolean e_shell_get_network_available (EShell *shell); +void e_shell_set_network_available (EShell *shell, + gboolean network_available); gboolean e_shell_get_online_mode (EShell *shell); void e_shell_set_online_mode (EShell *shell, gboolean online_mode); -EShellLineStatus - e_shell_get_line_status (EShell *shell); -void e_shell_set_line_status (EShell *shell, - EShellLineStatus status); GtkWidget * e_shell_get_preferences_window (void); void e_shell_event (EShell *shell, const gchar *event_name, -- cgit v1.2.3