Hello community,

here is the log from the commit of package gnome-shell-extensions for 
openSUSE:Factory checked in at 2011-10-25 15:58:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-shell-extensions (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-shell-extensions.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-shell-extensions", Maintainer is ""

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/gnome-shell-extensions/gnome-shell-extensions.changes
    2011-10-05 11:08:43.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.gnome-shell-extensions.new/gnome-shell-extensions.changes
       2011-10-25 15:59:05.000000000 +0200
@@ -1,0 +2,10 @@
+Thu Oct 20 14:23:41 UTC 2011 - [email protected]
+
+- Add gnome-shell-extensions-fix-popup-menus.patch: the dock
+  popup menus weren't working because a signal had been renamed
+  ('popup' -> 'open-state-changed') (bgo#661484).
+- Add gnome-shell-extensions-make-dock-extension-work.patch:
+  without this patch, dock is invisible, but reacts on mouse
+  clicks.
+
+-------------------------------------------------------------------

New:
----
  gnome-shell-extensions-fix-popup-menus.patch
  gnome-shell-extensions-make-dock-extension-work.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-shell-extensions.spec ++++++
--- /var/tmp/diff_new_pack.xqXDEY/_old  2011-10-25 15:59:09.000000000 +0200
+++ /var/tmp/diff_new_pack.xqXDEY/_new  2011-10-25 15:59:09.000000000 +0200
@@ -27,6 +27,10 @@
 Group:          System/GUI/GNOME
 Source:         
http://download.gnome.org/sources/gnome-shell-extensions/3.2/%{name}-%{version}.tar.bz2
 Source1:        README.SUSE
+# PATCH-FIX-UPSTREAM gnome-shell-extensions-fix-popup-menus.patch bgo#661484 
malcolmlewis@opensuse-org -- The dock popup menus weren't working because a 
signal had been renamed ('popup' -> 'open-state-changed').
+Patch0:         gnome-shell-extensions-fix-popup-menus.patch
+# PATCH-FIX-UPSTREAM gnome-shell-extensions-make-dock-extension-work.patch 
malcolmlewis@opensuse-org -- Without this patch dock is invisible, but reacts 
on mouse clicks.
+Patch1:         gnome-shell-extensions-make-dock-extension-work.patch
 # Needed for directory ownership
 BuildRequires:  gnome-shell
 # gobject-introspection is needed for the typelib() rpm magic.
@@ -217,6 +221,8 @@
 %lang_package
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 cp %{S:1} .
 
 %build

++++++ gnome-shell-extensions-fix-popup-menus.patch ++++++
>From 967aee7aad2accfb38d91ab56b6c5e91d86a2722 Mon Sep 17 00:00:00 2001
From: Stefan 'psYchotic' Zwanenburg <[email protected]>
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
++++++ gnome-shell-extensions-make-dock-extension-work.patch ++++++
>From 66242aa76a5d59fb4659551575c1fbb42e50b8fb Mon Sep 17 00:00:00 2001
From: Giovanni Campagna <[email protected]>
Date: Tue, 18 Oct 2011 08:19:50 +0000
Subject: [PATCH 1/2] Make dock extension actually work with gnome-3.2

Without this patch dock is invisible, but reacts on mouse clicks

Signed-off-by: Vasily Khoruzhick <[email protected]>
---
diff --git a/extensions/dock/extension.js b/extensions/dock/extension.js
index 240f8a8..02c9650 100644
--- a/extensions/dock/extension.js
+++ b/extensions/dock/extension.js
@@ -304,7 +304,6 @@ Dock.prototype = {
             this.actor.show();
         }));
         Main.layoutManager.addChrome(this.actor);
-        this.actor.lower_bottom();
 
         //hidden
         this._settings.connect('changed::'+DOCK_POSITION_KEY, Lang.bind(this, 
function (){
@@ -372,6 +371,8 @@ Dock.prototype = {
 
         this.actor.connect('leave-event', Lang.bind(this, this._hideDock));
         this.actor.connect('enter-event', Lang.bind(this, this._showDock));
+
+        this._hideDock();
     },
 
     destroy: function() {
@@ -861,4 +862,4 @@ function enable() {
 function disable() {
     dock.destroy();
     dock = null;
-}
\ No newline at end of file
+}
--
cgit v0.9.0.2
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to