Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=186d8ef9a9a573a72a5df3cc2422b10bac66bbe5

commit 186d8ef9a9a573a72a5df3cc2422b10bac66bbe5
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Wed Oct 12 16:56:53 2011 +0200

gnome-shell-extensions-3.2.0-6-x86_64
*fix dock

diff --git a/source/gnome-extra/gnome-shell-extensions/FrugalBuild 
b/source/gnome-extra/gnome-shell-extensions/FrugalBuild
index 4ee3aad..c92c0c1 100644
--- a/source/gnome-extra/gnome-shell-extensions/FrugalBuild
+++ b/source/gnome-extra/gnome-shell-extensions/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=gnome-shell-extensions
pkgver=3.2.0
-pkgrel=5
+pkgrel=6
pkgdesc="Modify and extend GNOME Shell functionality and behavior"
depends=('gnome-shell>=3.2.0' 'libgtop')
makedepends=('intltool' 'gnome-doc-utils' 'gnome-common' \
@@ -13,7 +13,9 @@ archs=('i686' 'x86_64')
_F_gnome_git="n"
_F_gnome_glib="y"
Finclude gnome gnome-scriptlet gnome-shell-extensions
-sha1sums=('899f23d0aa0ccd65c8c569e4e9d63ffd54303bb9')
+source=($source dock.diff)
+sha1sums=('899f23d0aa0ccd65c8c569e4e9d63ffd54303bb9' \
+          '8329fe51a8b340038e5a6634b0a9f444e7f10ca1')
if [ "$_F_gnome_git" != "n" ]; then
unset sha1sums
fi
diff --git a/source/gnome-extra/gnome-shell-extensions/dock.diff 
b/source/gnome-extra/gnome-shell-extensions/dock.diff
new file mode 100644
index 0000000..158e778
--- /dev/null
+++ b/source/gnome-extra/gnome-shell-extensions/dock.diff
@@ -0,0 +1,34 @@
+From 967aee7aad2accfb38d91ab56b6c5e91d86a2722 Mon Sep 17 00:00:00 2001
+From: Stefan 'psYchotic' Zwanenburg <stefanhetzwaan...@gmail.com>
+Date: Wed, 12 Oct 2011 01:16:18 +0000
+Subject: dock: Fix popup menus
+
+The dock popup menus weren't working because a signal had been renamed
+('popup' -> 'open-state-changed').
+
+https://bugzilla.gnome.org/show_bug.cgi?id=661484
+---
+diff --git a/extensions/dock/extension.js b/extensions/dock/extension.js
+index 47cd76f..240f8a8 100644
+--- a/extensions/dock/extension.js
++++ b/extensions/dock/extension.js
+@@ -682,7 +682,7 @@ DockIcon.prototype = {
+             this._menu.connect('activate-window', Lang.bind(this, function 
(menu, window) {
+                 this.activateWindow(window);
+             }));
+-            this._menu.connect('popup', Lang.bind(this, function (menu, 
isPoppedUp) {
++            this._menu.connect('open-state-changed', Lang.bind(this, function 
(menu, isPoppedUp) {
+                 if (!isPoppedUp){
+                     //Restore value of autohidedock
+                     this._dock._restoreHideDock();
+@@ -776,7 +776,6 @@ DockIconMenu.prototype = {
+         this._source = source;
+
+         this.connect('activate', Lang.bind(this, this._onActivate));
+-        this.connect('open-state-changed', Lang.bind(this, 
this._onOpenStateChanged));
+
+         this.actor.add_style_class_name('dock-menu');
+
+--
+cgit v0.9.0.2
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to