the systemtray applet automatically adds the applets that have
configuration entry in plasma-desktoprc but the applets configuration is
not saved by the systemtray applet
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
KLocale::formatDuration() does pretty much the same as what
KLocale::prettyFormatDuration() used to do
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
this essentially extends the digital clock options to 3 formats which are
also configurable instead of using a hardcoded format (the old
implementation), that ofcourse means an update has to be done every
second (or even milisecond) because the format is unknown to the digital
clock applet
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 problem is the action does not make sense for some type of jobs such as
file/folder delete job (there will be nothing to open, duh)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
now the home, trash and .directory files will be copied when the desktop
is started (by kcminit) rather than when desktop:/ is accessed for the
first time, no functional change besides improvement including less
.protocol files to parse and one less KIO slave to maintain
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
the basename of "/foo/bar.tar.gz" is "bar" and empty for "/foo/.bar", the
file name of "/foo/bar.tar.gz" is "bar.tar.gz" and ".bar" for "/foo/.bar".
obviously better
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
can be done with QML code which most plasma packages use anyway, also
the 0.9 scaling is slightly more noticable than the 0.95 for arrow this
small and 0.9 is a value that other QML widgets use
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
KRun will show message box if exec fails (it uses KToolInvocation itself
and checks the return value) and the menu will not be blocked while the
application is starting
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
adding actions that do nothing (e.g. when the window manager is not KWin)
to menu is not a smart thing to do, one would expect those actions to do
something
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
internally it is handled as Solid::PowerManagement::SuspendState tho so no
real functional change, it will be replaced with HybridSuspendState
eventually
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>