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>
the upper limit (384) is the Celsius upper limit (110) converted to Kelvin,
the lower limit is chosen such that it is twice the Fahrenheit lower
limit
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
because KStandardDirs::findAllResources() will return local and global
rules thus if there is a global and local rule file with the same name
there would be duplicates, using KStandardDirs::NoDuplicates flag will
not solve that because the rules are merged into the main kwinrulesrc
config
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
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>
for reference:
https://github.com/fluxer/katana/issues/41
note that the config affects only new configurations (the config is
copied to the user config directory once layout is saved), also a logout
may be required when a screen is removed (that includes setting up extra
monitor to be copy of the primary display)
as for why it is done - a image and panel containment was created by the
default layout script (00-defaultLayout.js) which is no longer since
772d9ff219
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>
many plasma runner have this issue - when locale is changed to something
other than the default the trigger term has to be in translated form (e.g.
"отметки") because the original untranslated term is not matched (e.g.
"bookmarks") and it is as if the runners are not working
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
the default Plasma::Theme font is already set to QApplication::font() by
Plasma::Theme itself, it has configuration option for it too which is to
read the font setting from the application "General" config group. for
reference:
kdelibs/plasma/theme.cpp
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>
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>