mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-01 17:24:48 +00:00
solve conflicts
This commit is contained in:
parent
264bff2854
commit
f8dbef7477
1 changed files with 0 additions and 25 deletions
|
|
@ -41,33 +41,8 @@ Item {
|
||||||
property int notificationId: 0;
|
property int notificationId: 0;
|
||||||
property int buttonHeight: width/4
|
property int buttonHeight: width/4
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
/*
|
|
||||||
Notification data object has the following properties:
|
|
||||||
appIcon
|
|
||||||
image
|
|
||||||
appName
|
|
||||||
summary
|
|
||||||
body
|
|
||||||
isPersistent
|
|
||||||
expireTimeout
|
|
||||||
urgency
|
|
||||||
appRealName
|
|
||||||
configurable
|
|
||||||
*/
|
|
||||||
function addNotification(source, data, actions) {
|
|
||||||
// Do not show duplicated notifications
|
|
||||||
// Remove notifications that are sent again (odd, but true)
|
|
||||||
for (var i = 0; i < notificationsModel.count; ++i) {
|
|
||||||
var tmp = notificationsModel.get(i);
|
|
||||||
var matches = (tmp.appName == data.appName &&
|
|
||||||
tmp.summary == data.summary &&
|
|
||||||
tmp.body == data.body);
|
|
||||||
var sameSource = tmp.source == source;
|
|
||||||
=======
|
|
||||||
onContainmentChanged: {
|
onContainmentChanged: {
|
||||||
containment.parent = homescreen;
|
containment.parent = homescreen;
|
||||||
>>>>>>> mart/newContainmentShell
|
|
||||||
|
|
||||||
if (containment != null) {
|
if (containment != null) {
|
||||||
containment.visible = true;
|
containment.visible = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue