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
This commit is contained in:
@ -1,3 +1,11 @@
|
||||
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.]
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user