aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-09-18 04:42:36 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-09-18 04:42:36 +0800
commit266cd02466e71c0b6fe2bdb613d8a7f12f1eaa8b (patch)
tree0de9ba9188bfb9926c643238b8b077eda6c368ef /shell/e-shell-view.c
parent190d2b0b7ff8c6fef285354ef369c7e8075c76e4 (diff)
downloadgsoc2013-evolution-266cd02466e71c0b6fe2bdb613d8a7f12f1eaa8b.tar
gsoc2013-evolution-266cd02466e71c0b6fe2bdb613d8a7f12f1eaa8b.tar.gz
gsoc2013-evolution-266cd02466e71c0b6fe2bdb613d8a7f12f1eaa8b.tar.bz2
gsoc2013-evolution-266cd02466e71c0b6fe2bdb613d8a7f12f1eaa8b.tar.lz
gsoc2013-evolution-266cd02466e71c0b6fe2bdb613d8a7f12f1eaa8b.tar.xz
gsoc2013-evolution-266cd02466e71c0b6fe2bdb613d8a7f12f1eaa8b.tar.zst
gsoc2013-evolution-266cd02466e71c0b6fe2bdb613d8a7f12f1eaa8b.zip
Remove unused variable.
* e-storage-set-view.c (sort_idle_callback): Remove unused variable. * e-shell-view.c (shell_line_status_changed_cb): Make Send/Receive insensitive when in offline mode. [#27855] svn path=/trunk/; revision=18096
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r--shell/e-shell-view.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 51b695989c..1e5d04436c 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -1587,6 +1587,15 @@ shell_line_status_changed_cb (EShell *shell,
shell_view = E_SHELL_VIEW (data);
update_offline_toggle_status (shell_view);
+
+ if (new_status == E_SHELL_LINE_STATUS_OFFLINE)
+ bonobo_ui_component_set_prop (shell_view->priv->ui_component,
+ "/commands/SendReceive",
+ "sensitive", "0", NULL);
+ else
+ bonobo_ui_component_set_prop (shell_view->priv->ui_component,
+ "/commands/SendReceive",
+ "sensitive", "1", NULL);
}
static int