Commit graph

13 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
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
fcc39c2b3b generic: explicitly enable startup notification for all applications that support it
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>
2023-08-20 00:43:08 +03:00
Ivailo Monev
9a10c6c95e generic: adjust to KAboutData changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-10 17:48:01 +03:00
Ivailo Monev
c88b7391e4 kmail: save and restore dialog size
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-12 20:12:44 +03:00
Ivailo Monev
ce3143a001 kmail: show the dialog after setting which buttons to show
so that the buttons icon and text can be set before showing it
(KDialog::setButtons() resets the buttons)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-22 16:39:56 +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
da3cb7452c kmail: use the URL path as CC fallback
the complete URL includes query items

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-17 02:23:53 +02:00
Ivailo Monev
4a59f73af1 kmail: use object for KHelpMenu instead of pointer
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-19 18:29:05 +03:00
Ivailo Monev
1a6f972cc5 kmail: show help button and close instead of cancel
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-19 18:27:41 +03:00
Ivailo Monev
c9961ff00a kmail: use object instead of pointer for KEmailDialog
plugs memory leaks and fixes user and password saving (done in KEMail
destructor)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-16 14:21:17 +03:00
Ivailo Monev
48180dbcb3 kmail: fallback to the URL for recipients
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-15 15:33:13 +03:00
Ivailo Monev
6e488f98fa kmail: new application to send e-mail
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-15 15:25:33 +03:00