zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #05323
[Branch ~zeitgeist/zeitgeist/bluebird] Rev 454: storage-monitor.vala: Commented out unused methods until gvfs decides to play nice
------------------------------------------------------------
revno: 454
committer: Seif Lotfy <seif@xxxxxxxxx>
branch nick: zeitgeist
timestamp: Tue 2012-03-27 20:36:40 +0200
message:
storage-monitor.vala: Commented out unused methods until gvfs decides to play nice
modified:
extensions/storage-monitor.vala
--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird
Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'extensions/storage-monitor.vala'
--- extensions/storage-monitor.vala 2012-03-26 18:12:03 +0000
+++ extensions/storage-monitor.vala 2012-03-27 18:36:40 +0000
@@ -318,6 +318,8 @@
return "unknown";
}
+ /*
+ // It is not being used since gvfs is not being friendly
private void on_volume_added (Volume volume)
{
debug ("volume added");
@@ -329,19 +331,21 @@
add_storage_medium (get_volume_id (volume), icon_name,
volume.get_name ());
}
-
+
private void on_volume_removed (Volume volume)
{
debug ("Volume removed");
remove_storage_medium (get_volume_id (volume));
}
+ */
/*
* Return a string identifier for a GIO Volume. This id is constructed
* as a `best effort` since we can not always uniquely identify
* volumes, especially audio- and data CDs are problematic.
*/
- private string get_volume_id (Volume volume)
+
+ /*private string get_volume_id (Volume volume)
{
string volume_id;
@@ -358,7 +362,7 @@
return volume_id;
return "unknown";
- }
+ }*/
public void add_storage_medium (string medium_name, string icon,
string display_name)