Commit graph

14 commits

Author SHA1 Message Date
Ivailo Monev
692edb429a generic: prepare for KFileItem changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-27 17:53:56 +03:00
Ivailo Monev
6448dd35bc generic: call static KStandardDirs methods as such
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-05 02:04:33 +03:00
Ivailo Monev
347f9d7177 kcontrol: merge DesktopStartItem class into AutoStartItem
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-04 12:47:53 +02:00
Ivailo Monev
12bb86ae51 kcontrol: write Name entry for custom desktop files from autostart KCM
otherwise it is empty the next time autostart KCM loads the .desktop files

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-04 11:48:13 +02:00
Ivailo Monev
c80d049e53 kcontrol: disable autostart items the filepath of which is not writable
this is kinda not according to the spec (which allows user overrides) but
what is the outcome of having a local copy of system file?

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-04 08:19:26 +02:00
Ivailo Monev
897ca32dcf kcontrol: fix autostart add
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-04 08:07:16 +02:00
Ivailo Monev
e5a021693f kcontrol: notify when error occurrs when attempting to remove program autostart
can happen if the .desktop file is in /usr/share/autostart/ for example and
the user cannot write there

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-04 07:44:58 +02:00
Ivailo Monev
967aed50d1 kcontrol: skip non-existing directories in autostart KCM
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-04 07:43:12 +02:00
Ivailo Monev
1a87bf0849 kcontrol: drop support for scripts in autostart KCM
see the previous commit, also fixes detection of programs that are
automatically started by using KStandardDirs to find the autostart
directories

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-04 09:21:35 +02:00
Ivailo Monev
45fbbf2582 generic: compiler warnings fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-06-05 22:06:42 +03:00
Ivailo Monev
44d408df25 kcontrol: remove shutdown scripts support leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-08-04 13:52:28 +03:00
Ivailo Monev
9ec8609680 generic: adjust to KStandardDirs changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-17 18:57:24 +03:00
Ivailo Monev
c433e4502a generic: adjust for use with CMake moc 2015-02-27 09:28:46 +00:00
Ivailo Monev
a7fd791926 initial import 2014-11-13 19:30:51 +02:00