dateMenu: Don't ellipsize world clock time/tz
If we need to ellipsize, it should be the location name, not the time or timezone offset. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1090
This commit is contained in:
parent
36b8dcbe07
commit
b80115dc6e
@ -189,6 +189,9 @@ class WorldClocksSection extends St.Button {
|
||||
x_align: Clutter.ActorAlign.END,
|
||||
y_align: Clutter.ActorAlign.CENTER });
|
||||
|
||||
time.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
|
||||
tz.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
|
||||
|
||||
if (this._grid.text_direction == Clutter.TextDirection.RTL) {
|
||||
layout.attach(tz, 0, i + 1, 1, 1);
|
||||
layout.attach(time, 1, i + 1, 1, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user