Skip to content

Commit

Permalink
Fix virtual allocate function of MailIndicator
Browse files Browse the repository at this point in the history
  • Loading branch information
pulb committed Mar 24, 2019
1 parent d6d9a3e commit a72ac0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ function aggregateAvatarsAsync(completedCallback) {
}

function createExt(s, avatars) {

let opts = new Opts.Options();

opts.maxVisibleMails = s.get_int(MAX_VISIBLE_MAILS_KEY);
Expand Down
4 changes: 3 additions & 1 deletion indicator.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,9 @@ class MailnagIndicator extends PanelMenu.Button {
this.setMails([]);
}

_allocate(actor, box, flags) {
vfunc_allocate(box, flags) {
super.vfunc_allocate(box, flags);

// the iconBin should fill our entire box
this._iconBin.allocate(box, flags);

Expand Down

0 comments on commit a72ac0e

Please sign in to comment.