[Plasma-nm] Indicate flight mode in system tray icon

Review Request #128332 - Created June 30, 2016 and submitted

Kai Uwe Broulik
networkmanagement, plasma, usability

This changes the tray icon to the airplane icon when in flight mode.

Also changes the SwitchButton to use a PlasmaCore.IconItem instead of a PlasmaCore.Svg to be consisteht with the tray icon.

BUG: 364626

Enabled flightmode, got airplane icon
Disabled flightmode, briefly got "no network" icon until my wifi was connected again.

The flight mode is only shown when flight mode is enabled and there really isn't any connection.

NOTE VDG: The icon flightmode-on and flightmode-off need to be renamed to network-flightmode-on and network-flightmode-off (keeping the old ones in there for compatibility!) so Plasma IconItem finds it.


Jan Grulich
Jens Reuterberg
Jan Grulich
Kai Uwe Broulik
Kai Uwe Broulik
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 2d0150fc72981b27712ee80590d4b2741626e317 by Kai Uwe Broulik to branch master.