Blame SOURCES/places-volume.patch

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