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/603
This commit is contained in:
parent
cc9f949b65
commit
bb9f05843f
@ -1313,6 +1313,7 @@ var FolderIcon = class FolderIcon {
|
||||
_redisplay() {
|
||||
this._updateName();
|
||||
this.actor.visible = this.view.getAllItems().length > 0;
|
||||
this.icon.update();
|
||||
this.emit('apps-changed');
|
||||
}
|
||||
|
||||
|
@ -142,6 +142,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