Commit 5a260e13 authored by Javad Rahmatzadeh's avatar Javad Rahmatzadeh
Browse files

fix connectObject() related signal ids on GNOME 42

parent 2d86d2b1
......@@ -9,6 +9,8 @@ We go to the next version after each release on [GNOME Shell Extensions website]
### Fixed
- Flickering panel after Unlock.
- Notification banner position on GNOME Shell 42.
- Window demands attention focus on GNOME Shell 42.
- French translation by [@GeoffreyCoulaud](https://gitlab.gnome.org/GeoffreyCoulaud).
### Added
......
......@@ -1982,7 +1982,7 @@ var API = class
// since removing '_windowDemandsAttentionId' doesn't have any effect
// we remove the original signal and re-connect it on disable
let signalId
= (this._shellVersion < 43)
= (this._shellVersion < 42)
? this._main.windowAttentionHandler._windowDemandsAttentionId
: this._getSignalId(global.display, 'window-demands-attention');
......@@ -2220,7 +2220,7 @@ var API = class
messageTray._hideNotification = function (animate) {
this._notificationFocusGrabber.ungrabFocus();
if (SHELL_VERSION >= 43) {
if (SHELL_VERSION >= 42) {
this._banner.disconnectObject(this);
} else {
if (this._bannerClickedId) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment