much like prior to f47177f876 except that
the notification is not done on solid signals but from the KDED module
responsible for mounting and unmounting
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
KActionCollection::action() method takes QString as argument thus the
conversion to latin1 and then to char array would generate code path such
that QString would have to be constructed again..
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
no idea what "artsd" is but figuring out in what format standard sounds are
is easy - just look into /usr/share/sounds. also, the sound files shipped
by Katana are in OGG format
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
for applications that do not create main window (e.g. create dialog window
instead) the tray feature is not enabled
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
see the following commit in kdelibs repo:
4b632fcae67da3b95e69e954fa2e581a42f4c53c
currently enabled only for a few applications until more tests are done
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
there were solid enum changes and then some in this repo, see the
following commit in the kdelibs repo:
2e1544537da02c8e89bc08c59fd3d6e1d146ef8c
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
for when not even X11 Xfixes extension can do it (as was done by
KGlobalSettings, however the difference being no check is done if it is
full Katana session - it is simply assumed it is the case when the platform
plugin is loaded)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
the idea being to not write anything into the Katie config and possibly
even drop support for overriding Katie settings from config.
on a side note font and palette settings are wrapped via classes
(KGlobalSettings and KColorScheme) and hard-wired to configs rather than
being a runtime thing (e.g. getting the font to use for menus via
QApplication::font("QMenu") instead of KGlobalSettings::menuFont()) so lots
to do on that, as for how it will benefit Katana and Katie - less config
parsing possibly, QPalette objects are shared data for example
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
otherwise the variables may persist trough the Katana session (e.g. if
D-Bus was not launched by `startkde`) and affect other desktop environments
and X11 sessions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Katie now checks for XDG_CURRENT_DESKTOP when detecting which platform
plugin to use (see 01dab8cebd94d94969f034fbd842bc45d690d72d in the Katie
repo) and KComponentData setups the library and plugin paths (see
kdelibs/kdecore/kernel/kcomponentdata.cpp) thus exporting the environment
variables is redundant (could be exported for applications that are not
part of Katana but that is not Katana's responsibility)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
KRun, klauncher4, etc. no longer assume that applications support it nor
is it emulated for applications that do not - if applications do not
support it or do not do it correctly that's their problem
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
usually not visible but has tray icon and startup notification relies
mostly on a main window to be show for emitting finish
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>