* debian/control.in

- Added runtime dependency to 'gvfs' (>= 1.16.0).
    The 'Places' extension rely on a 'gvfs' linked to 'udisks2'.
This commit is contained in:
Jean Schurger
2013-04-04 14:04:41 +00:00
parent 0b84052458
commit 1e8ff58d82
5 changed files with 8 additions and 24 deletions

7
debian/changelog vendored
View File

@@ -1,10 +1,11 @@
gnome-shell-extensions (3.8.0-1) UNRELEASED; urgency=low
* New upstream release.
* debian/patches
- fix-places-volume-without-class.diff (fix 'places', #697266)
* debian/control.in
- Added runtime dependency to 'gvfs' (>= 1.16.0).
The 'Places' extension rely on a 'gvfs' linked to 'udisks2'.
-- Jean Schurger <jean@schurger.org> Thu, 04 Apr 2013 09:32:25 -0400
-- Jean Schurger <jean@schurger.org> Thu, 04 Apr 2013 10:03:26 -0400
gnome-shell-extensions (3.7.92-1) UNRELEASED; urgency=low

3
debian/control vendored
View File

@@ -26,7 +26,8 @@ Architecture: all
Depends: ${misc:Depends},
gnome-shell (>= ${gnome:Version}),
gnome-shell (<< ${gnome:NextVersion}),
gir1.2-gtop-2.0
gir1.2-gtop-2.0,
gvfs (>= 1.16.0)
Recommends: gnome-tweak-tool (>= ${gnome:Version})
Description: Extensions to extend functionality of GNOME Shell
The GNOME Shell redefines user interactions with the GNOME desktop. In

3
debian/control.in vendored
View File

@@ -21,7 +21,8 @@ Architecture: all
Depends: ${misc:Depends},
gnome-shell (>= ${gnome:Version}),
gnome-shell (<< ${gnome:NextVersion}),
gir1.2-gtop-2.0
gir1.2-gtop-2.0,
gvfs (>= 1.16.0)
Recommends: gnome-tweak-tool (>= ${gnome:Version})
Description: Extensions to extend functionality of GNOME Shell
The GNOME Shell redefines user interactions with the GNOME desktop. In

View File

@@ -1,18 +0,0 @@
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();

View File

@@ -1 +0,0 @@
fix-places-volume-without-class.diff