the application notifications works and is nearly complete, the jobs
notification is yet to be done. so far it looks like this:
https://ibb.co/GTGMKtQ
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
how does it look? something like this:
https://ibb.co/1zbDVpk
and because all the SolidUiServer bits are written by me now - copyright
it to me. the actions dialog was not operational btw (not for hotplug
events anyway).
the solidautoeject thing does not even make sense - when the eject
button is pressed it was calling Solid::OpticalDrive::eject() but if the
button is pressed the tray will eject anyway so what was it doing
actually?
solid-device-automounter can be replaced with solid actions but the
devices are mounted for solid actions anyway so dropping it
as for KCM for the solid actions - there can be none but to add features
such as non-interactive actions (e.g. launch the keyboard KCM when a
keyboard is plugged without poping dialog) or actions that do something
on device removal it has to be done anew
note that the action file for opening a file manager was named
"test-predicate-openinwindow" meaning it was a testing thing rather than
a finished thing
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
now with separate options for screen and sleep power management
suppression as well as being able to select which battery to show
information (including icon) for in the tray:
https://ibb.co/DDC01rh
the battery icon is questionably bigger than it should be, have to test
it with battery that is recognizable still (PS3 controller battery
provides only capacity and status info)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
disabling plasma-desktop should never be done for Katana session even tho
it can be done because it is started from XDG autostart file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
fixes weatherstation plasma applet not showing the wind image (wind_arrows)
when the locale is set to be one other than the default (C/en_US). note
that "N/A" is matched as untranslated string (e.g. in
kdeplasma-addons/applets/weather/weatherapplet.cpp) meaning more changes
may be required to fix other minor issues because "N/A" is translated in
several places
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
KLocalizedDate is wrapper around KCalendarSystem and does the same
essentially, also the plasma clock applets do it the way it is done now
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
the previous network status implementation was lacking backends and
fallback thus the unknown status was used as as if the status is connected
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
so that the weather location (see kde-extraapps/kdeplasma-addons/libs/plasmaweather/weatherlocation.h)
can check all providers from a single data update and try to match any of
the cities from the providers essentially extending the matching
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
same result however no extra QEventLoop, the only overhead is from the
property that has to be set for each source (converting QString to QVariant
and then back to QString)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
also corrected folderview applet condition in olderView::setUrl()
(incorrect since before the fork, was displaying message that the
network is not reachable when the status is connected)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
to fix the plasma job notification actions (see the previous commit), also
changing the destination URL type to QString because it is such (see
kdelibs/kio/kio/copyjob.cpp and kdelibs/kio/kio/job.cpp) and the
QVariant/QDBusVariant conversion is redundant
requires changes to the job tracker interface in kdelibs aswell.. see
kdelibs/kdeui/jobs/kuiserverjobtracker.cpp
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
the type is supposed to be boolean, see:
https://specifications.freedesktop.org/notification-spec/notification-spec-latest.html#icons-and-images-formats
the ImageConverter::SpecImage structure in knotify/imageconverter.cpp uses
and marshal/demarshals it as boolean too
bonus points for optimizing decodeNotificationSpecImageHint() a bit by
making sure the QByteArray::data() call will not detach the pixels data
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>