Blob Blame History Raw
diff -up gnome-shell-extensions-3.8.3/extensions/places-menu/placeDisplay.js.volume gnome-shell-extensions-3.8.3/extensions/places-menu/placeDisplay.js
--- gnome-shell-extensions-3.8.3/extensions/places-menu/placeDisplay.js.volume	2013-06-17 15:44:05.558371091 -0400
+++ gnome-shell-extensions-3.8.3/extensions/places-menu/placeDisplay.js	2013-06-17 15:44:12.260417250 -0400
@@ -292,7 +292,8 @@ const PlacesManager = new Lang.Class({
             let volumes = drives[i].get_volumes();
 
             for(let j = 0; j < volumes.length; j++) {
-                if (volumes[j].get_identifier('class').indexOf('network') >= 0) {
+                let identifier = volumes[j].get_identifier('class');
+                if (identifier && identifier.indexOf('network') >= 0) {
                     networkVolumes.push(volumes[i]);
                 } else {
                     let mount = volumes[j].get_mount();
@@ -308,7 +309,8 @@ const PlacesManager = new Lang.Class({
             if(volumes[i].get_drive() != null)
                 continue;
 
-            if (volumes[i].get_identifier('class').indexOf('network') >= 0) {
+            let identifier = volumes[j].get_identifier('class');
+            if (identifier && identifier.indexOf('network') >= 0) {
                 networkVolumes.push(volumes[i]);
             } else {
                 let mount = volumes[i].get_mount();