popupMenu: Define the dot next to the menu as an "ornament"
We want to remove switches in remote menus, so make way for a checkmark ornament for the popup menu item. https://bugzilla.gnome.org/show_bug.cgi?id=698427
This commit is contained in:
@ -588,7 +588,7 @@ const NMDevice = new Lang.Class({
|
||||
title = _("Connected (private)");
|
||||
}
|
||||
this._activeConnectionItem = new PopupMenu.PopupMenuItem(title, { reactive: false });
|
||||
this._activeConnectionItem.setShowDot(true);
|
||||
this._activeConnectionItem.setOrnament(PopupMenu.Ornament.DOT);
|
||||
},
|
||||
|
||||
_deviceStateChanged: function(device, newstate, oldstate, reason) {
|
||||
@ -1371,7 +1371,7 @@ const NMDeviceWireless = new Lang.Class({
|
||||
this._activeConnectionItem = new PopupMenu.PopupImageMenuItem(title,
|
||||
'network-wireless-connected-symbolic',
|
||||
{ reactive: false });
|
||||
this._activeConnectionItem.setShowDot(true);
|
||||
this._activeConnectionItem.setOrnament(PopupMenu.Ornament.DOT);
|
||||
},
|
||||
|
||||
_createAutomaticConnection: function(apObj) {
|
||||
|
Reference in New Issue
Block a user