popMenu: Fix invalid allocation
https://bugzilla.gnome.org/show_bug.cgi?id=704453
This commit is contained in:
parent
ded99b9a09
commit
185152a74a
@ -313,7 +313,7 @@ const PopupBaseMenuItem = new Lang.Class({
|
||||
availWidth = box.x2 - x;
|
||||
} else {
|
||||
if (this._columnWidths)
|
||||
availWidth += this._columnWidths[col++];
|
||||
availWidth = this._columnWidths[col++];
|
||||
else
|
||||
availWidth = naturalWidth;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user