#define kernel KMKernel::self()
to
#define kmkernel KMKernel::self()
because 'kernel' was a much to general term. We really shouldn't repeat the mistakes of the X developers.
I noticed this problem when I played around with KImageEffects. kimageeffects.h contains 'kernel' as parameter of some methods and so the compilation had to fail. We won't need KImageEffects in the near future, but at least we are now prepared and a clash with another 'kernel' can't happen anymore.
svn path=/trunk/kdepim/; revision=252621
- If the main window is on the current desktop then it's hidden (instead of iconified to make Frauke happy again ;-) )
- If the main window is hidden or is not on the current desktop then show the main window.
Bugs fixed:
- Save/restore the position of the main window.
- Save/restore the desktop the main window is/was on.
- Initialize all member variables.
- Use the actual number of unread messages instead of just a bunch of '0' characters for calculating the correct font size for displaying the number in the system tray. (Apparently at least in some fonts the number characters don't have all the same width.)
- Don't call folderSelectedUnread(...) because the first new message is already selected when the folder is selected. Calling folderSelectedUnread(...) caused the second new/unread message to be selected and the first new message to be marked as read. Ouch.
svn path=/trunk/kdepim/; revision=248199
make showKMail() work if window is iconified, check for NET::OnAllDesktops and don't hide but iconify window if applet is clicked
TODO: Only iconify the main window if it's currently visible. Else show it.
svn path=/trunk/kdepim/; revision=247685
Especially protocol() == "imap". Note that using ssl completely breaks those
checks then as the protocol is then "imaps". Also the string compares
are suboptimal there - use folderType() == KMFolderTypeSomeType.
svn path=/trunk/kdepim/; revision=238868
an unread message via the system tray
this may sound like a pathological corner case, but it happened to me
just now =)
svn path=/trunk/kdepim/; revision=219000
This is a set of changes that is well test by myself and others.
The following bug fixes amongst others are included:
Compilation fix: the certificate dialog now compiles
Mjr bugfix: Prevent mail loss when kmail crashes while editing a
drafts message
Mjr bugfix: Fix erratic folder changing when clicking on the folder
tree
Mjr bugfix: Prevent mail loss when applying filters
The follow features have been implemented:
* KMail is now a KPart and can be embedded in the Kontact/Kaplan
container applications along with other KDE PIM applications.
* Remove duplicates function for removing duplicate messages in
a folder.
* Messages can be dragged and dropped on a composer window to
add those messages as attachments.
* Deletion in threaded mode is improved, child messages will no
longer be scattered when a parent is deleted.
* Multiple messages can now be selected in the search dialog.
* New context menu in the search dialog with Move, Copy, Reply
etc. actions for operating on selected messages.
* Search criteria in the search dialog now supports more types
of rules and a variable number of rules.
* Faster searching of large messsages.
* 'Search Folders' which are a KMail folder that stores a search
expression and is dynamically updated (also known as virtual
folders).
* The separate window for reading mail has a context menu with
Reply, Copy etc. actions for operating on the message
displayed.
* The separate window for reading mail has a tool bar.
* Startup of KMail is faster.
* Switching between folders is faster.
* The contents of all composer windows are saved to disk on
composer window creation and then periodically saved to
prevent mail loss in the result of a system crash.
* The state of KMail folders is saved to disk periodically to
prevent status information loss in the result of a system
crash.
Note after start KMail switching to folders for the first time will
slow as the format of the .sorted file has changed.
Enjoy!
svn path=/trunk/kdenetwork/kmail/; revision=195825