mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
status/network: Work around xgettext ignoring translated strings
xgettext quits parsing, when the "<"-operator follows the "++"-operator
directly.
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5820
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2613>
(cherry picked from commit 35e2ac7a2a)
This commit is contained in:
parent
df75341733
commit
ab101b91a2
1 changed files with 3 additions and 1 deletions
|
|
@ -1223,7 +1223,9 @@ const NMWirelessDeviceItem = GObject.registerClass({
|
|||
const {network: net} = item;
|
||||
item.visible =
|
||||
(hasWindows || net.hasConnections() || net.canAutoconnect()) &&
|
||||
nVisible++ < MAX_VISIBLE_NETWORKS;
|
||||
nVisible < MAX_VISIBLE_NETWORKS;
|
||||
if (item.visible)
|
||||
nVisible++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue