@ -562,29 +562,18 @@ PlasmaExtras.Representation {
}
PlasmaExtras . PlaceholderMessage {
/ / C h e c k i n g v a l i d t o a v o i d c r e a t i n g S e r v e r I n f o o b j e c t i f e v e r y t h i n g i s a l r i g h t
readonly property NotificationManager . ServerInfo currentOwner: ! NotificationManager . Server . valid ? NotificationManager . Server . currentOwner
: null
anchors.centerIn: parent
width: parent . width - ( PlasmaCore . Units . largeSpacing * 4 )
text: i18n ( "Notification service not available" )
explanation: currentOwner && currentOwner . vendor && currentOwner . name
? i18nc ( "Vendor and product name" , "Notifications are currently provided by '%1 %2'" , currentOwner . vendor , currentOwner . name )
: ""
visible: list . count === 0 && ! NotificationManager . Server . valid
/ / T O D O : p o r t t o u s i n g t h e s u b t i t l e p r o p e r t y o n c e i t e x i s t s
PlasmaComponents3 . Label {
/ / C h e c k i n g v a l i d t o a v o i d c r e a t i n g S e r v e r I n f o o b j e c t i f e v e r y t h i n g i s a l r i g h t
readonly property NotificationManager . ServerInfo currentOwner: ! NotificationManager . Server . valid ? NotificationManager . Server . currentOwner
: null
/ / P l a s m a E x t r a s . P l a c e h o l d e r M e s s a g e i s i n t e r n a l l y a C o l u m n L a y o u t ,
/ / s o w e c a n u s e L a y o u t . w h a t e v e r p r o p e r t i e s h e r e
Layout.fillWidth: true
wrapMode: Text . WordWrap
text: currentOwner ? i18nc ( "Vendor and product name" ,
"Notifications are currently provided by '%1 %2'" ,
currentOwner . vendor ,
currentOwner . name )
: ""
visible: currentOwner && currentOwner . vendor && currentOwner . name
}
}
}
}