Compare commits

..

2 Commits

Author SHA1 Message Date
Florian Müllner
af7903dba7 Bump version to 3.22.1
Update NEWS.
2016-10-11 00:38:37 +02:00
Florian Müllner
f99b42e732 window-list: Update icon on app changes
We currently assume that the application associated with a particular
window is fixed. While this holds true for almost every application,
there are some cases of multi-app-packages like LibreOffice where
windows may change the properties used for application matching at
runtime. Catch those cases to make sure we display the correct icon
when the window shifts applications.

https://bugzilla.gnome.org/show_bug.cgi?id=771731
2016-09-20 18:06:08 +02:00
3 changed files with 13 additions and 1 deletions

4
NEWS
View File

@@ -1,3 +1,7 @@
3.22.1
======
* window-list: Update icon on app changes
3.22.0
======
* updated translations (en_GB)

View File

@@ -1,5 +1,5 @@
AC_PREREQ(2.63)
AC_INIT([gnome-shell-extensions],[3.22.0],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
AC_INIT([gnome-shell-extensions],[3.22.1],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([config])

View File

@@ -152,6 +152,12 @@ const WindowTitle = new Lang.Class({
this._iconThemeChangedId =
this._textureCache.connect('icon-theme-changed',
Lang.bind(this, this._updateIcon));
this._notifyWmClass =
this._metaWindow.connect('notify::wm-class',
Lang.bind(this, this._updateIcon));
this._notifyAppId =
this._metaWindow.connect('notify::gtk-application-id',
Lang.bind(this, this._updateIcon));
this._updateIcon();
this.actor.connect('destroy', Lang.bind(this, this._onDestroy));
@@ -193,6 +199,8 @@ const WindowTitle = new Lang.Class({
this._textureCache.disconnect(this._iconThemeChangedId);
this._metaWindow.disconnect(this._notifyTitleId);
this._metaWindow.disconnect(this._notifyMinimizedId);
this._metaWindow.disconnect(this._notifyWmClass);
this._metaWindow.disconnect(this._notifyAppId);
}
});