Accepting request 89180 from home:fcrozat:branches:GNOME:Factory

- Add gnome-shell-fix-deprecated-call.patch: fix deprecated call in
  telepathy client [bgo#661231]

OBS-URL: https://build.opensuse.org/request/show/89180
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell?expand=0&rev=87
This commit is contained in:
Vincent Untz 2011-10-24 19:35:22 +00:00 committed by Git OBS Bridge
parent 2ab8c32c38
commit d943652895
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,29 @@
From b62f5ef07d87db7835fa753fe1774a5ed32d871d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Oct 24 14:43:45 UTC 2011 - fcrozat@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 - sysrich@linux.com

View File

@ -27,6 +27,8 @@ 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 sysrich@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 fcrozat@suse.com -- fix deprecated function call
Patch1: gnome-shell-fix-deprecated-call.patch
BuildRequires: intltool
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
@ -111,6 +113,7 @@ to enable, disable and install them.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
translation-update-upstream
%build