[gnome-shell/wip/fmuellner/long-user-names] aggregateMenu: Don't use system menu for width computation
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/long-user-names] aggregateMenu: Don't use system menu for width computation
- Date: Sat, 9 Feb 2019 07:08:00 +0000 (UTC)
commit 9eeea3f17a91a63b01ae0e850be234517801f761
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Feb 9 07:52:28 2019 +0100
aggregateMenu: Don't use system menu for width computation
If the user's real name is too long to fit the menu comfortably, we are
supposed to use the username instead. However since commit f8e5e3e435f,
we no longer set a max-width on the menu as a whole, but instead base
the width request on only "unellipsizable" children. For some reason
the system menu ended up there, so the name is now allowed to grow
indefinitely.
Remove it from the list of size children to get the intended behavior
back.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/400
js/ui/panel.js | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/js/ui/panel.js b/js/ui/panel.js
index 1a8d88131..562855ed4 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -814,7 +814,6 @@ class AggregateMenu extends PanelMenu.Button {
menuLayout.addSizeChild(this._location.menu.actor);
menuLayout.addSizeChild(this._rfkill.menu.actor);
menuLayout.addSizeChild(this._power.menu.actor);
- menuLayout.addSizeChild(this._system.menu.actor);
}
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]