[gnome-utils] Remove old var not used anymore
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-utils] Remove old var not used anymore
- Date: Sat, 24 Jul 2010 20:02:21 +0000 (UTC)
commit 87110f4f5b784d19071ec77885c6063a93f48f7e
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Jul 24 21:29:36 2010 +0200
Remove old var not used anymore
baobab/src/baobab.c | 6 +-----
baobab/src/baobab.h | 1 -
2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/baobab/src/baobab.c b/baobab/src/baobab.c
index d032070..e58ea87 100644
--- a/baobab/src/baobab.c
+++ b/baobab/src/baobab.c
@@ -147,9 +147,7 @@ check_menu_sens (gboolean scanning)
set_ui_action_sens ("menurescan", !scanning && current_location != NULL);
set_ui_action_sens ("preferenze1", !scanning);
set_ui_action_sens ("menu_scan_rem", !scanning);
- set_ui_action_sens ("ck_allocated",
- !scanning &&
- baobab.is_local && !g_noactivescans);
+ set_ui_action_sens ("ck_allocated", !scanning && baobab.is_local);
set_ui_widget_sens ("tbscanhome", !scanning);
set_ui_widget_sens ("tbscanall", !scanning);
@@ -181,7 +179,6 @@ baobab_scan_location (GFile *file)
g_object_unref (current_location);
current_location = g_object_ref (file);
- g_noactivescans = FALSE;
baobab.STOP_SCANNING = FALSE;
baobab_set_busy (TRUE);
check_menu_sens (TRUE);
@@ -1216,7 +1213,6 @@ main (int argc, char *argv[])
baobab_init ();
- g_noactivescans = TRUE;
check_menu_sens (FALSE);
baobab_get_filesystem (&g_fs);
if (g_fs.total == 0) {
diff --git a/baobab/src/baobab.h b/baobab/src/baobab.h
index 2dca5ce..421904d 100644
--- a/baobab/src/baobab.h
+++ b/baobab/src/baobab.h
@@ -107,7 +107,6 @@ struct chan_data {
};
/* globals */
-gboolean g_noactivescans;
baobab_fs g_fs;
void baobab_set_busy (gboolean busy);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]