Changeset View
Changeset View
Standalone View
Standalone View
applet/contents/ui/ConnectionItem.qml
Show First 20 Lines • Show All 339 Lines • ▼ Show 20 Line(s) | 339 | } else { | |||
---|---|---|---|---|---|
340 | handler.deactivateConnection(ConnectionPath, DevicePath) | 340 | handler.deactivateConnection(ConnectionPath, DevicePath) | ||
341 | } | 341 | } | ||
342 | } else if (predictableWirelessPassword) { | 342 | } else if (predictableWirelessPassword) { | ||
343 | appletProxyModel.dynamicSortFilter = false | 343 | appletProxyModel.dynamicSortFilter = false | ||
344 | visiblePasswordDialog = true | 344 | visiblePasswordDialog = true | ||
345 | } | 345 | } | ||
346 | } | 346 | } | ||
347 | 347 | | |||
348 | /* This generates the formatted text under the connection name | ||||
349 | in the popup where the connections can be "Connect"ed and | ||||
350 | "Disconnect"ed. */ | ||||
348 | function itemText() { | 351 | function itemText() { | ||
349 | if (ConnectionState == PlasmaNM.Enums.Activating) { | 352 | if (ConnectionState == PlasmaNM.Enums.Activating) { | ||
350 | if (Type == PlasmaNM.Enums.Vpn) | 353 | if (Type == PlasmaNM.Enums.Vpn) | ||
351 | return VpnState | 354 | return VpnState | ||
352 | else | 355 | else | ||
353 | return DeviceState | 356 | return DeviceState | ||
354 | } else if (ConnectionState == PlasmaNM.Enums.Deactivating) { | 357 | } else if (ConnectionState == PlasmaNM.Enums.Deactivating) { | ||
355 | if (Type == PlasmaNM.Enums.Vpn) | 358 | if (Type == PlasmaNM.Enums.Vpn) | ||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |