aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-05-04 07:03:18 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-05-04 07:03:18 +0800
commit7cfacb2f84e3189bed138326e788ea09bdb25eb8 (patch)
treee1665f2aa9e42be1fb00aa2f31ff87f9d7ee5d6a /shell/e-shell-view.c
parent08e6ede22adccfa0eb798135113b3e74dae0fa8d (diff)
downloadgsoc2013-evolution-7cfacb2f84e3189bed138326e788ea09bdb25eb8.tar.gz
gsoc2013-evolution-7cfacb2f84e3189bed138326e788ea09bdb25eb8.tar.zst
gsoc2013-evolution-7cfacb2f84e3189bed138326e788ea09bdb25eb8.zip
Initial implementation for the "warning, some connections are still
active" dialog. svn path=/trunk/; revision=9661
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r--shell/e-shell-view.c21
1 files changed, 20 insertions, 1 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index bc8dd1531d..f96daac3dc 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -171,6 +171,23 @@ bonobo_widget_is_dead (BonoboWidget *bonobo_widget)
}
+/* Shell signal handling. */
+
+static void
+shell_line_status_changed_cb (EShell *shell,
+ EShellLineStatus new_status,
+ void *data)
+{
+ EShellView *shell_view;
+ EShellViewPrivate *priv;
+
+ shell_view = E_SHELL_VIEW (data);
+ priv = shell_view->priv;
+
+ g_warning ("Shell status changed -- %d", new_status);
+}
+
+
/* Folder bar pop-up handling. */
static void disconnect_popup_signals (EShellView *shell_view);
@@ -1020,13 +1037,15 @@ e_shell_view_construct (EShellView *shell_view,
bonobo_ui_engine_config_set_path (bonobo_window_get_ui_engine (BONOBO_WINDOW (shell_view)),
"/evolution/UIConf/kvps");
-
e_shell_view_menu_setup (shell_view);
e_shell_view_set_folder_bar_mode (shell_view, E_SHELL_VIEW_SUBWINDOW_HIDDEN);
bonobo_ui_component_thaw (priv->ui_component, NULL);
+ gtk_signal_connect (GTK_OBJECT (shell), "line_status_changed",
+ GTK_SIGNAL_FUNC (shell_line_status_changed_cb), view);
+
return view;
}