[baobab] Remove hacky workaround
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab] Remove hacky workaround
- Date: Fri, 12 Aug 2016 15:11:28 +0000 (UTC)
commit bff88543067901cc08bc7f38b6d8446d3f5b6773
Author: Stefano Facchini <stefano facchini gmail com>
Date: Thu Aug 11 12:22:52 2016 +0200
Remove hacky workaround
This should be fixed lower in the stack.
src/baobab-location.vala | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/baobab-location.vala b/src/baobab-location.vala
index 12ecbb2..aead0d5 100644
--- a/src/baobab-location.vala
+++ b/src/baobab-location.vala
@@ -177,11 +177,6 @@ namespace Baobab {
file = mount.get_root ();
get_file_info ();
- // a little hacky, but it gets around all those null returns
- if ("folder-remote" in icon.to_string() && !is_volume) {
- is_remote = true;
- }
-
if (file != null && file.equal (File.new_for_path (Environment.get_home_dir ()))) {
make_this_home_location ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]