Hello community,

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

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

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-shell/gnome-shell.changes  2011-10-19 
13:39:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gnome-shell.new/gnome-shell.changes     
2011-10-25 15:56:53.000000000 +0200
@@ -1,0 +2,13 @@
+Mon Oct 24 14:43:45 UTC 2011 - fcro...@suse.com
+
+- Add gnome-shell-fix-deprecated-call.patch: fix deprecated call in
+  telepathy client [bgo#661231]
+
+-------------------------------------------------------------------
+Tue Oct 20 12:02:48 UTC 2011 - sysr...@linux.com
+
+- Add gnome-shell-cleanup-signal-handlers-on-destroy.patch to fix
+  some issue when using extensions changing the usermenu 
+  [bgo#660520 and bnc#725004]
+
+-------------------------------------------------------------------

New:
----
  gnome-shell-cleanup-signal-handlers-on-destroy.patch
  gnome-shell-fix-deprecated-call.patch

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

Other differences:
------------------
++++++ gnome-shell.spec ++++++
--- /var/tmp/diff_new_pack.jie3pK/_old  2011-10-25 15:56:54.000000000 +0200
+++ /var/tmp/diff_new_pack.jie3pK/_new  2011-10-25 15:56:54.000000000 +0200
@@ -25,6 +25,10 @@
 Group:          System/GUI/GNOME
 Url:            http://live.gnome.org/GnomeShell
 Source:         
http://download.gnome.org/sources/gnome-shell/3.2/%{name}-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM gnome-shell-cleanup-signal-handlers-on-destroy.patch 
bnc#725004 sysr...@linux.com -- patch to fix some issue when using extensions 
changing the usermenu
+Patch0:         gnome-shell-cleanup-signal-handlers-on-destroy.patch
+# PATCH-FIX-UPSTREAM gnome-shell-fix-deprecated-call.patch bgo#661231 
fcro...@suse.com -- fix deprecated function call
+Patch1:         gnome-shell-fix-deprecated-call.patch
 BuildRequires:  intltool
 BuildRequires:  translation-update-upstream
 BuildRequires:  update-desktop-files
@@ -108,6 +112,8 @@
 %lang_package
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 translation-update-upstream
 
 %build

++++++ gnome-shell-cleanup-signal-handlers-on-destroy.patch ++++++
>From 7945c56a9f2cb5c2dc8736bc46e92d225cca9251 Mon Sep 17 00:00:00 2001
From: Giovanni Campagna <gcampa...@src.gnome.org>
Date: Mon, 17 Oct 2011 15:18:25 +0200
Subject: [PATCH] IMStatusChooserItem: clean up signal handlers on destroy()

Extensions (like alternative-status-menu) expect that calling
destroy() on a menu item will not leave signal handlers around.

https://bugzilla.gnome.org/show_bug.cgi?id=660520
---
 js/ui/userMenu.js |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js
index 40ca2f3..8bedfb9 100644
--- a/js/ui/userMenu.js
+++ b/js/ui/userMenu.js
@@ -199,6 +199,21 @@ IMStatusChooserItem.prototype = {
         }));
     },
 
+    destroy: function() {
+        // clean up signal handlers
+        if (this._userLoadedId != 0) {
+            this._user.disconnect(this._userLoadedId);
+            this._userLoadedId = 0;
+        }
+
+        if (this._userChangedId != 0) {
+            this._user.disconnect(this._userChangedId);
+            this._userChangedId = 0;
+        }
+
+        PopupMenu.PopupBaseMenuItem.prototype.destroy.call(this);
+    },
+
     // Override getColumnWidths()/setColumnWidths() to make the item
     // independent from the overall column layout of the menu
     getColumnWidths: function() {
-- 
1.7.6.4
++++++ gnome-shell-fix-deprecated-call.patch ++++++
>From b62f5ef07d87db7835fa753fe1774a5ed32d871d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuell...@gnome.org>
Date: Mon, 24 Oct 2011 15:52:13 +0200
Subject: [PATCH] telepathy-client: Replace shell_util_new_from_string

The function has been removed in commit 786cfbd3976, but one user
was overlooked when replacing it.

https://bugzilla.gnome.org/show_bug.cgi?id=661231
---
 js/ui/telepathyClient.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js
index 695a12b..3c14eda 100644
--- a/js/ui/telepathyClient.js
+++ b/js/ui/telepathyClient.js
@@ -1297,7 +1297,7 @@ MultiNotificationSource.prototype = {
     },
 
     createNotificationIcon: function() {
-        return new St.Icon({ gicon: Shell.util_icon_from_string(this._icon),
+        return new St.Icon({ gicon: Gio.icon_new_for_string(this._icon),
                              icon_type: St.IconType.FULLCOLOR,
                              icon_size: this.ICON_SIZE });
     }
-- 
1.7.7

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to