Compare commits

...

3 Commits

Author SHA1 Message Date
742a0bca52 Bump version to 3.2.2.1
Updated NEWS
2012-01-20 00:20:17 -05:00
d606ce6776 notificationDaemon: fix order of arguments to _lookupSource()
The order of arguments passed to _lookupSource() was wrong, causing
problems when tray icons were removed.

https://bugzilla.gnome.org/show_bug.cgi?id=664138
2012-01-20 00:11:05 -05:00
7ff63a26b7 notificationDaemon: fix problem with cherry-pick to gnome-3-2
When backporting 7e654ab3ca
(notificationDaemon: group sources based on a combination of pid and title)
to old-style classes, the new trayIcon argument needed to be added to the
actual constructor.

https://bugzilla.gnome.org/show_bug.cgi?id=664138
2012-01-20 00:09:40 -05:00
3 changed files with 11 additions and 4 deletions

7
NEWS
View File

@ -1,3 +1,10 @@
3.2.2.1
=======
* Fix several regressions with tray icons introduced in 3.2.2 [Owen; #664138]
Contributors:
Owen Taylor
3.2.2
=====
* Fix crash when searching in the shell caused by .desktop files

View File

@ -1,5 +1,5 @@
AC_PREREQ(2.63)
AC_INIT([gnome-shell],[3.2.2],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell],[gnome-shell])
AC_INIT([gnome-shell],[3.2.2.1],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell],[gnome-shell])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([src/shell-global.c])

View File

@ -480,7 +480,7 @@ NotificationDaemon.prototype = {
},
_onTrayIconRemoved: function(o, icon) {
let source = this._lookupSource(icon.pid, null, true);
let source = this._lookupSource(null, icon.pid, true);
if (source)
source.destroy();
}
@ -488,8 +488,8 @@ NotificationDaemon.prototype = {
DBus.conformExport(NotificationDaemon.prototype, NotificationDaemonIface);
function Source(title, pid, sender) {
this._init(title, pid, sender);
function Source(title, pid, sender, trayIcon) {
this._init(title, pid, sender, trayIcon);
}
Source.prototype = {