Changeset View
Changeset View
Standalone View
Standalone View
applets/notifications/package/contents/ui/global/Globals.qml
Show First 20 Lines • Show All 322 Lines • ▼ Show 20 Line(s) | 319 | delegate: NotificationPopup { | |||
---|---|---|---|---|---|
323 | popupWidth: globals.popupWidth | 323 | popupWidth: globals.popupWidth | ||
324 | type: model.urgency === NotificationManager.Notifications.CriticalUrgency && notificationSettings.keepCriticalAlwaysOnTop | 324 | type: model.urgency === NotificationManager.Notifications.CriticalUrgency && notificationSettings.keepCriticalAlwaysOnTop | ||
325 | ? PlasmaCore.Dialog.CriticalNotification : PlasmaCore.Dialog.Notification | 325 | ? PlasmaCore.Dialog.CriticalNotification : PlasmaCore.Dialog.Notification | ||
326 | 326 | | |||
327 | notificationType: model.type | 327 | notificationType: model.type | ||
328 | 328 | | |||
329 | applicationName: model.applicationName | 329 | applicationName: model.applicationName | ||
330 | applicationIconSource: model.applicationIconName | 330 | applicationIconSource: model.applicationIconName | ||
331 | deviceName: model.deviceName || "" | 331 | originName: model.originName || "" | ||
332 | 332 | | |||
333 | time: model.updated || model.created | 333 | time: model.updated || model.created | ||
334 | 334 | | |||
335 | configurable: model.configurable | 335 | configurable: model.configurable | ||
336 | // For running jobs instead of offering a "close" button that might lead the user to | 336 | // For running jobs instead of offering a "close" button that might lead the user to | ||
337 | // think that will cancel the job, we offer a "dismiss" button that hides it in the history | 337 | // think that will cancel the job, we offer a "dismiss" button that hides it in the history | ||
338 | dismissable: model.type === NotificationManager.Notifications.JobType | 338 | dismissable: model.type === NotificationManager.Notifications.JobType | ||
339 | && model.jobState !== NotificationManager.Notifications.JobStateStopped | 339 | && model.jobState !== NotificationManager.Notifications.JobStateStopped | ||
▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines |