Changeset View
Changeset View
Standalone View
Standalone View
applet/contents/ui/PopupDialog.qml
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Line(s) | 80 | if (expanded) { | |||
---|---|---|---|---|---|
83 | operation.hint = "x-kde-appname"; | 83 | operation.hint = "x-kde-appname"; | ||
84 | operation.value = "networkmanagement"; | 84 | operation.value = "networkmanagement"; | ||
85 | var job = service.startOperationCall(operation); | 85 | var job = service.startOperationCall(operation); | ||
86 | job.finished.connect(function(job) { | 86 | job.finished.connect(function(job) { | ||
87 | if (expanded) { | 87 | if (expanded) { | ||
88 | notificationInhibitorLock = job.result; | 88 | notificationInhibitorLock = job.result; | ||
89 | } | 89 | } | ||
90 | }); | 90 | }); | ||
91 | handler.requestScan() | ||||
91 | } else { | 92 | } else { | ||
92 | notificationInhibitorLock = undefined; | 93 | notificationInhibitorLock = undefined; | ||
93 | toolbar.closeSearch() | 94 | toolbar.closeSearch() | ||
94 | } | 95 | } | ||
95 | } | 96 | } | ||
96 | } | 97 | } | ||
97 | 98 | | |||
98 | PlasmaCore.DataSource { | 99 | PlasmaCore.DataSource { | ||
99 | id: notificationsEngine | 100 | id: notificationsEngine | ||
100 | engine: "notifications" | 101 | engine: "notifications" | ||
101 | } | 102 | } | ||
102 | } | 103 | } |