mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
status/network: Title mobile connections as "Mobile"
As per the latest mockups, modem network connections are labeled "Mobile". Override _getDefaultName in NMModemToggle and always return "Mobile" as title. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2619>
This commit is contained in:
parent
e0408faf71
commit
2d4521be3b
1 changed files with 5 additions and 0 deletions
|
|
@ -1860,6 +1860,11 @@ class NMModemToggle extends NMDeviceToggle {
|
|||
'gnome-network-panel.desktop');
|
||||
}
|
||||
|
||||
_getDefaultName() {
|
||||
// Translators: "Mobile" from "Mobile Broadband"
|
||||
return _('Mobile');
|
||||
}
|
||||
|
||||
_createDeviceMenuItem(device) {
|
||||
return new NMModemDeviceItem(this._client, device);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue