[gnome-shell/user-status-update: 2/5] popup-menu-item: Auto-expand last column
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/user-status-update: 2/5] popup-menu-item: Auto-expand last column
- Date: Thu, 21 Jul 2011 06:13:58 +0000 (UTC)
commit 8d7705c0f69be2fcc4a90a3ca91cc58f81750bcc
Author: Florian MÃllner <fmuellner gnome org>
Date: Tue Jul 5 18:50:38 2011 +0200
popup-menu-item: Auto-expand last column
js/ui/popupMenu.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js
index a643745..f9fffa2 100644
--- a/js/ui/popupMenu.js
+++ b/js/ui/popupMenu.js
@@ -265,7 +265,7 @@ PopupBaseMenuItem.prototype = {
let [minWidth, naturalWidth] = child.actor.get_preferred_width(-1);
let availWidth, extraWidth;
if (this._columnWidths) {
- if (child.span == -1) {
+ if (child.span == -1 || col == this._columnWidths.length - 1) {
if (direction == St.TextDirection.LTR)
availWidth = box.x2 - x;
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]