elementary / wingpanel

Stylish top panel that holds indicators and spawns an application launcher
https://elementary.io
GNU General Public License v3.0
137 stars 46 forks source link

Add codenames for missing indicators #367

Closed pongloongyeat closed 3 years ago

pongloongyeat commented 3 years ago

This adds the following three constants:

public const string NIGHT_LIGHT = "nightlight";
public const string PRIVACY = "privacy";
public const string ACCESSIBILITY = "a11y";

Let me know if the indicator sorting as in #366 should be in this PR. I've left it out of this PR so the design team can add it in instead.

davidmhewitt commented 3 years ago

I think it would be better to add the code for the ordering in this PR too.

It looks like indicators are sorted alphabetically if they are unknown. So to keep the sorting the same as it is now, you can set the order of the indicators as a11y, nightlight, privacy before all of the already existing indicators.

pongloongyeat commented 3 years ago

@davidmhewitt it's done.

pongloongyeat commented 3 years ago

Glad to be of help!