aboutsummaryrefslogtreecommitdiffstats
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
parent190d2b0b7ff8c6fef285354ef369c7e8075c76e4 (diff)
downloadgsoc2013-evolution-266cd02466e71c0b6fe2bdb613d8a7f12f1eaa8b.tar.gz
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
-rw-r--r--shell/ChangeLog8
-rw-r--r--shell/e-shell-view.c9
-rw-r--r--shell/e-storage-set-view.c1
3 files changed, 17 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 7218689dbc..6223947716 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,13 @@
2002-09-17 Ettore Perazzoli <ettore@ximian.com>
+ * 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]
+
+2002-09-17 Ettore Perazzoli <ettore@ximian.com>
+
[Fix #28451.]
* e-storage-set-view.c: New member sort_idle_id in
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
diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c
index a0c9b1a80a..a00d458e53 100644
--- a/shell/e-storage-set-view.c
+++ b/shell/e-storage-set-view.c
@@ -246,7 +246,6 @@ sort_idle_callback (void *data)
{
EStorageSetView *storage_set_view;
EStorageSetViewPrivate *priv;
- static int i;
storage_set_view = E_STORAGE_SET_VIEW (data);
priv = storage_set_view->priv;