folderIcon: Update folder icon after dropping
After dropping an application into the folder icon, the list of applications is updated but the folder icon itself is not. Introduce BaseIcon.update() and call it from FolderIcon when redisplaying. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/664
This commit is contained in:
parent
09d5f0779d
commit
5dfa620f86
@ -1331,6 +1331,7 @@ var FolderIcon = class FolderIcon {
|
||||
_redisplay() {
|
||||
this._updateName();
|
||||
this.actor.visible = this.view.getAllItems().length > 0;
|
||||
this.icon.update();
|
||||
this.emit('apps-changed');
|
||||
}
|
||||
|
||||
|
@ -141,6 +141,10 @@ class BaseIcon extends St.Bin {
|
||||
// animating.
|
||||
zoomOutActor(this.child);
|
||||
}
|
||||
|
||||
update() {
|
||||
this._createIconTexture(this.iconSize);
|
||||
}
|
||||
});
|
||||
|
||||
function clamp(value, min, max) {
|
||||
|
Loading…
Reference in New Issue
Block a user