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;
}
11-11-081-1/+1 * -remove MD5ohauer2011-07-031-1/+0 * Sync to new bsd.autotools.mkade2010-12-041-1/+1 * Punt autoconf267->autoconf268ade2010-10-161-1/+1 * Fix build with clang.rene2010-10-131-0/+1 * Round one migration of ports from automake{19,110} to automake111ade2010-10-061-1/+1 * Migrate from devel/automake15 to devel/automake19ade2010-09-241-1/+1 * Autotools update. Read ports/UPDATING 20100915 for details.ade2010-09-161-2/+2 * Add license informationrene2010-07-181-0/+2 * Adopt these ports.rene2010-07-121-1/+1 * Reset longtime inactive maintainer due to timeouts.linimon2010-06-191-1/+1 * - apr should always be a LIB_DEPENDSpgollucci2010-06-071-1/+2 * - Convert ports/ to devel/apr1pgollucci2010-05-181-1/+1 * Update to 0.10.0rene2010-04-06