[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#771541: unblock: gnome-shell-extensions/3.14.2-1



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Hi,

please unblock gnome-shell-extensions for a few bugfixes:

gnome-shell-extensions (3.14.2-1) unstable; urgency=medium

  * New upstream bugfix release.
  * menu-arrows-icons: new patch. Make arrows consistent with the rest 
    of the shell.
  * apps-center-labels.patch: patch from upstream git. Center labels 
    vertically in the applications menu.
  * window-list-pointerInNotification.patch: patch from upstream git. 
    Update window-list extension for an older shell API change.

Attaching upstream changes between 3.14.1 and 3.14.2.

unblock gnome-shell-extensions/3.14.2-1

Thanks,
-- 
 .''`.        Josselin Mouette
: :' :
`. `'
  `-
Index: debian/changelog
===================================================================
--- debian/changelog	(révision 43965)
+++ debian/changelog	(révision 43966)
@@ -1,3 +1,15 @@
+gnome-shell-extensions (3.14.2-1) unstable; urgency=medium
+
+  * New upstream bugfix release.
+  * menu-arrows-icons: new patch. Make arrows consistent with the rest 
+    of the shell.
+  * apps-center-labels.patch: patch from upstream git. Center labels 
+    vertically in the applications menu.
+  * window-list-pointerInNotification.patch: patch from upstream git. 
+    Update window-list extension for an older shell API change.
+
+ -- Josselin Mouette <joss@debian.org>  Sun, 30 Nov 2014 16:06:59 +0100
+
 gnome-shell-extensions (3.14.1-1) unstable; urgency=medium
 
   * New upstream release.
Index: debian/patches/menu-arrows-icons.patch
===================================================================
--- debian/patches/menu-arrows-icons.patch	(révision 0)
+++ debian/patches/menu-arrows-icons.patch	(révision 43966)
@@ -0,0 +1,45 @@
+Index: gnome-shell-extensions-3.14.2/extensions/apps-menu/extension.js
+===================================================================
+--- gnome-shell-extensions-3.14.2.orig/extensions/apps-menu/extension.js	2014-10-07 13:54:01.000000000 +0200
++++ gnome-shell-extensions-3.14.2/extensions/apps-menu/extension.js	2014-11-30 15:59:57.300620972 +0100
+@@ -283,9 +283,7 @@ const ApplicationsButton = new Lang.Clas
+                                      y_expand: true,
+                                      y_align: Clutter.ActorAlign.CENTER });
+         hbox.add_child(this._label);
+-        hbox.add_child(new St.Label({ text: '\u25BE',
+-                                      y_expand: true,
+-                                      y_align: Clutter.ActorAlign.CENTER }));
++        hbox.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM));
+ 
+         this.actor.add_actor(hbox);
+         this.actor.name = 'panelApplications';
+Index: gnome-shell-extensions-3.14.2/extensions/drive-menu/extension.js
+===================================================================
+--- gnome-shell-extensions-3.14.2.orig/extensions/drive-menu/extension.js	2014-11-30 15:59:14.629264311 +0100
++++ gnome-shell-extensions-3.14.2/extensions/drive-menu/extension.js	2014-11-30 15:59:32.344997226 +0100
+@@ -128,9 +128,7 @@ const DriveMenu = new Lang.Class({
+                                  style_class: 'system-status-icon' });
+ 
+         hbox.add_child(icon);
+-        hbox.add_child(new St.Label({ text: '\u25BE',
+-                                      y_expand: true,
+-                                      y_align: Clutter.ActorAlign.CENTER }));
++        hbox.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM));
+         this.actor.add_child(hbox);
+ 
+ 	this._monitor = Gio.VolumeMonitor.get();
+Index: gnome-shell-extensions-3.14.2/extensions/places-menu/extension.js
+===================================================================
+--- gnome-shell-extensions-3.14.2.orig/extensions/places-menu/extension.js	2014-10-07 13:54:01.000000000 +0200
++++ gnome-shell-extensions-3.14.2/extensions/places-menu/extension.js	2014-11-30 15:57:44.382624700 +0100
+@@ -82,9 +82,7 @@ const PlacesMenu = new Lang.Class({
+                                    y_expand: true,
+                                    y_align: Clutter.ActorAlign.CENTER });
+         hbox.add_child(label);
+-        hbox.add_child(new St.Label({ text: '\u25BE',
+-                                      y_expand: true,
+-                                      y_align: Clutter.ActorAlign.CENTER }));
++        hbox.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM));
+         this.actor.add_actor(hbox);
+ 
+         this.placesManager = new PlaceDisplay.PlacesManager();
Index: debian/patches/series
===================================================================
--- debian/patches/series	(révision 43965)
+++ debian/patches/series	(révision 43966)
@@ -1,2 +1,5 @@
 dont-require-nautilus-classic.patch
 gnome-session-classic-wrapper-script.patch
+menu-arrows-icons.patch
+apps-center-labels.patch
+window-list-pointerInNotification.patch
Index: debian/patches/window-list-pointerInNotification.patch
===================================================================
--- debian/patches/window-list-pointerInNotification.patch	(révision 0)
+++ debian/patches/window-list-pointerInNotification.patch	(révision 43966)
@@ -0,0 +1,24 @@
+From 2f49d77931b57d20ba37f03b9a0733f18cbba5c8 Mon Sep 17 00:00:00 2001
+From: Sylvain Pasche <sylvain.pasche@gmail.com>
+Date: Sat, 1 Nov 2014 22:03:43 +0100
+Subject: window-list: _pointerInTray was renamed to _pointerInNotification in
+ bug 695800
+
+https://bugzilla.gnome.org/show_bug.cgi?id=737486
+
+diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js
+index 5115a68..0cee654 100644
+--- a/extensions/window-list/extension.js
++++ b/extensions/window-list/extension.js
+@@ -1188,7 +1188,7 @@ function enable() {
+ 
+     windowList.actor.connect('notify::hover', Lang.bind(Main.messageTray,
+         function() {
+-            this._pointerInTray = windowList.actor.hover;
++            this._pointerInNotification = windowList.actor.hover;
+             this._updateState();
+         }));
+ 
+-- 
+cgit v0.10.1
+
Index: debian/patches/apps-center-labels.patch
===================================================================
--- debian/patches/apps-center-labels.patch	(révision 0)
+++ debian/patches/apps-center-labels.patch	(révision 43966)
@@ -0,0 +1,27 @@
+From 79f263d1edbd6f7cfe13cf89933941b439325cee Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
+Date: Wed, 26 Nov 2014 19:03:49 +0100
+Subject: apps-menu: Center app labels
+
+Currently labels are not vertically centered, unlike icons.
+Fix this.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=740724
+
+diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js
+index a8fb74d..f8438fd 100644
+--- a/extensions/apps-menu/extension.js
++++ b/extensions/apps-menu/extension.js
+@@ -58,7 +58,8 @@ const ApplicationMenuItem = new Lang.Class({
+         this._iconBin = new St.Bin();
+         this.actor.add_child(this._iconBin);
+ 
+-        let appLabel = new St.Label({ text: app.get_name() });
++        let appLabel = new St.Label({ text: app.get_name(), y_expand: true,
++                                      y_align: Clutter.ActorAlign.CENTER });
+         this.actor.add_child(appLabel, { expand: true });
+         this.actor.label_actor = appLabel;
+ 
+-- 
+cgit v0.10.1
+
diff --git a/NEWS b/NEWS
index 47f723b..072c90a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+3.14.2
+======
+* drive-menu: Update for nautilus/gnome-shell changes
+
 3.14.1
 ======
  * alternateTab: Fix dismissing popup with Escape
diff --git a/configure.ac b/configure.ac
index be9ef6a..7736432 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
 AC_PREREQ(2.63)
-AC_INIT([gnome-shell-extensions],[3.14.1],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
+AC_INIT([gnome-shell-extensions],[3.14.2],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
 
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_AUX_DIR([config])
diff --git a/extensions/drive-menu/extension.js b/extensions/drive-menu/extension.js
index 7f73477..fe42a4c 100644
--- a/extensions/drive-menu/extension.js
+++ b/extensions/drive-menu/extension.js
@@ -108,8 +108,9 @@ const MountMenuItem = new Lang.Class({
     },
 
     activate: function(event) {
+        let context = global.create_app_launch_context(event.get_time(), -1);
         Gio.AppInfo.launch_default_for_uri(this.mount.get_root().get_uri(),
-                                           global.create_app_launch_context());
+                                           context);
 
 	this.parent(event);
     }
@@ -149,7 +150,7 @@ const DriveMenu = new Lang.Class({
 	this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
 	this.menu.addAction(_("Open File"), function(event) {
 	    let appSystem = Shell.AppSystem.get_default();
-	    let app = appSystem.lookup_app('nautilus.desktop');
+	    let app = appSystem.lookup_app('org.gnome.Nautilus.desktop');
 	    app.activate_full(-1, event.get_time());
 	});
 

Reply to: