Commit graph

34 commits

Author SHA1 Message Date
Ivailo Monev
c6b591023e generic: enable session management for all GUI applications
to what degree session management is supported is different story, e.g. if
there is no kRestoreMainWindows<T>() call (or other method that actually
restores state) then the application is simply started again on login and
placed where it was in the window state it was by the window manager

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-09 09:03:17 +03:00
Ivailo Monev
591e3ab7d4 kmenuedit: remove unused header inclusion
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-25 06:30:30 +03:00
Ivailo Monev
36bc690df1 generic: adjust to shortcut changes
notice how the use of primary shortcut only disappears

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-24 10:25:20 +03:00
Ivailo Monev
6b370cb68b generic: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-22 04:36:27 +03:00
Ivailo Monev
1cad595824 generic: drop scripting support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 08:14:30 +03:00
Ivailo Monev
5949b572bc khotkeys: drop it
the only use case is to launch ksnapshot which can be done by
plasma-desktop, some of the actions code is borked (notably window
matching, global and menu actions were working) and I have no
intention to fix it. even if fixed when a window (and thus possibly
application) key is grabbed there is a chance the window (application)
may want to grab the grabbed key and fail (i.e. grab conflict) so it
shall be left to the application to set what keys shall be global
(grabbed) hence the bits to start ksnapshot are moved to plasma-desktop

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-29 23:04:14 +03:00
Ivailo Monev
ca9117d909 generic: add X-KDE-HasTrayOption to .desktop files
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>
2023-08-24 16:57:14 +03:00
Ivailo Monev
3f85de5864 ksystraycmd: drop it and use the new tray argument of KApplication
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>
2023-08-24 01:45:34 +03:00
Ivailo Monev
7402ab544f generic: set Implements and SingleMainWindow properties in .desktop files
see f8e1de37283b47cbe3c39b639fa7f01c52bb2187 in the kdelibs repo

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-19 22:36:17 +03:00
Ivailo Monev
f00420a34a generic: preperations for kdelibs changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-19 19:47:34 +03:00
Ivailo Monev
f1f6ae7a3e generic: replace X-KDE-StartupNotify with StartupNotify
X-KDE-StartupNotify is for compatibility and used as fallback (in case
StartupNotify is not set)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-18 05:11:16 +03:00
Ivailo Monev
eb9ad3d007 generic: adjust to KUniqueApplication changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-13 17:42:13 +03:00
Ivailo Monev
ce48bc0997 generic: preperations for kdelibs changes
automatically replaced via:
find -name CMakeLists.txt -exec sed -e 's|${KDE4_PLASMA_LIBS}|KDE4::plasma|g' -e 's|${KDE4_KIO_LIBS}|KDE4::kio|g' -e 's|${KDE4_SOLID_LIBS}|KDE4::solid|g' -e 's|${KDE4_KFILE_LIBS}|KDE4::kfile|g' -e 's|${KDE4_KDECORE_LIBS}|KDE4::kdecore|g' -e 's|${KDE4_KDEUI_LIBS}|KDE4::kdeui|g' -e 's|${KDE4_KCMUTILS_LIBS}|KDE4::kcmutils|g' -e 's|${KDE4_KDECLARATIVE_LIBS}|KDE4::kdeclarative|g' -e 's|${KDE4_KPTY_LIBS}|KDE4::kpty|g' -e 's|${KDE4_KEMAIL_LIBS}|KDE4::kemail|g' -e 's|${KDE4_KMEDIAPLAYER_LIBS}|KDE4::kmediaplayer|g' -e 's|${KDE4_KPARTS_LIBS}|KDE4::kparts|g' -e 's|${KDE4_KIDLETIME_LIBS}|KDE4::kidletime|g' -e 's|${KDE4_KTEXTEDITOR_LIBS}|KDE4::ktexteditor|g' -e 's|${KDE4_KPASSWDSTORE_LIBS}|KDE4::kpasswdstore|g' -e 's|${KDE4_KARCHIVE_LIBS}|KDE4::karchive|g' -e 's|${KDE4_KDNSSD_LIBS}|KDE4::kdnssd|g' -e 's|${KDE4_KNOTIFYCONFIG_LIBS}|KDE4::knotifyconfig|g' -e 's|${KDE4_KEXIV2_LIBS}|KDE4::kexiv2|g' -i {} +

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-17 23:27:11 +03:00
Ivailo Monev
472f24878b generic: adjust to kdelibs changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-17 18:38:55 +03:00
Ivailo Monev
66eb4985f2 generic: drop support for spelling correction via dialog
the context menu of Kate (which could be implemented for KTextEdit
aswell) offers the same functionality

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-10 01:01:26 +03:00
Ivailo Monev
15319dc6bc generic: port to the new spelling classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-09 20:30:46 +03:00
Ivailo Monev
9536a25d4c generic: set X-DBUS-ServiceName in the desktop files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-05 05:10:46 +02:00
Ivailo Monev
d366561ceb generic: adjust to KService::newServicePath() change
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-29 23:28:56 +03:00
Ivailo Monev
591b538337 generic: replace installation paths with KDE4_ prefixed
see commit in kdelibs repository

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 20:13:13 +00:00
Ivailo Monev
af45159765 generic: replace forward declarations with headers inclusions
this was done with namefsck script from Katie, solves namespace issues

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-05 02:36:36 +00:00
Ivailo Monev
63b00960a9 generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-09 09:45:53 +02:00
Ivailo Monev
d3b86ed118 generic: proper support for icon and caption in .desktop files 2015-09-21 00:43:22 +00:00
Ivailo Monev
20cc23084a generic: misc cleanups 2015-09-01 23:24:46 +03:00
Ivailo Monev
2baf4467d1 generic: major build system cleanup 2015-09-01 04:37:19 +03:00
Ivailo Monev
840c8a25cc generic: make changes required for building against katie 2015-08-12 13:11:16 +03:00
Ivailo Monev
2fd8835404 generic: optimize png images with optipng 2015-07-20 17:51:27 +03:00
Ivailo Monev
4397f517d3 generic: normalize include guards 2015-07-11 18:25:01 +03:00
Ivailo Monev
3ef94d4d1a generic: stop using kdeinit for main applications 2015-05-09 16:39:54 +00:00
Ivailo Monev
c433e4502a generic: adjust for use with CMake moc 2015-02-27 09:28:46 +00:00
Ivailo Monev
706d765b3d kmenuedit: fix actions not being triggered 2015-02-07 07:53:54 +00:00
Ivailo Monev
0a82433c59 removed win and mac code 2014-11-19 17:57:24 +00:00
Ivailo Monev
24b6d92809 changed bash scripts shebangs 2014-11-15 05:48:13 +02:00
Ivailo Monev
1e70ec3391 removed windows stuff (dirty) 2014-11-15 05:21:19 +02:00
Ivailo Monev
a7fd791926 initial import 2014-11-13 19:30:51 +02:00