r37491 - in /packages/experimental/gnome-shell-extensions/debian: changelog patches/fix-places-volume-without-class.diff patches/series

jeansch-guest at users.alioth.debian.org jeansch-guest at users.alioth.debian.org
Thu Apr 4 13:35:52 UTC 2013


Author: jeansch-guest
Date: Thu Apr  4 13:35:51 2013
New Revision: 37491

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=37491
Log:
* debian/patches
  - fix-places-volume-without-class.diff (fix 'places', #697266)

Added:
    packages/experimental/gnome-shell-extensions/debian/patches/fix-places-volume-without-class.diff
Modified:
    packages/experimental/gnome-shell-extensions/debian/changelog
    packages/experimental/gnome-shell-extensions/debian/patches/series

Modified: packages/experimental/gnome-shell-extensions/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/experimental/gnome-shell-extensions/debian/changelog?rev=37491&op=diff
==============================================================================
--- packages/experimental/gnome-shell-extensions/debian/changelog [utf-8] (original)
+++ packages/experimental/gnome-shell-extensions/debian/changelog [utf-8] Thu Apr  4 13:35:51 2013
@@ -1,8 +1,10 @@
 gnome-shell-extensions (3.8.0-1) UNRELEASED; urgency=low
 
   * New upstream release.
+  * debian/patches
+    - fix-places-volume-without-class.diff (fix 'places', #697266)
 
- -- Jean Schurger <jeansch at schurger.org>  Wed, 27 Mar 2013 09:49:48 -0400
+ -- Jean Schurger <jean at schurger.org>  Thu, 04 Apr 2013 09:32:25 -0400
 
 gnome-shell-extensions (3.7.92-1) UNRELEASED; urgency=low
 

Added: packages/experimental/gnome-shell-extensions/debian/patches/fix-places-volume-without-class.diff
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/experimental/gnome-shell-extensions/debian/patches/fix-places-volume-without-class.diff?rev=37491&op=file
==============================================================================
--- packages/experimental/gnome-shell-extensions/debian/patches/fix-places-volume-without-class.diff (added)
+++ packages/experimental/gnome-shell-extensions/debian/patches/fix-places-volume-without-class.diff [utf-8] Thu Apr  4 13:35:51 2013
@@ -1,0 +1,18 @@
+diff --git a/extensions/places-menu/placeDisplay.js b/extensions/places-menu/placeDisplay.js
+index 6d0625b..4b78310 100644
+--- a/extensions/places-menu/placeDisplay.js
++++ b/extensions/places-menu/placeDisplay.js
+@@ -292,7 +292,12 @@ 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 cls = volumes[j].get_identifier('class');
++                let have_network_class = false;
++                if (cls != null)
++                    if (volumes[j].get_identifier('class').indexOf('network') >= 0)
++                        have_network_class = true;
++                if (have_network_class) {
+                     networkVolumes.push(volumes[i]);
+                 } else {
+                     let mount = volumes[j].get_mount();

Modified: packages/experimental/gnome-shell-extensions/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/experimental/gnome-shell-extensions/debian/patches/series?rev=37491&op=diff
==============================================================================
--- packages/experimental/gnome-shell-extensions/debian/patches/series [utf-8] (original)
+++ packages/experimental/gnome-shell-extensions/debian/patches/series [utf-8] Thu Apr  4 13:35:51 2013
@@ -1,0 +1,1 @@
+fix-places-volume-without-class.diff




More information about the pkg-gnome-commits mailing list