[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: KDE1.1.2/PATCH: kmail (Bug #889)
From: Waldo Bastian <bastian () suse ! de>
Date: 1999-08-11 8:30:28
[Download RAW message or body]
Hiya,
The following patch fixes bugreport #889.
Please test it so that I can commit it.
Cheers,
Waldo
-- Bug Report --
Package: Kmail
Version: 1.0.17
After a new mail folder is created, it is listed at the end of the dialog
boxes that list folders, making it hard to find because I expected to find
it sorted in alphabetical order like the rest of the folders are. The folder is only
listed correctly in the dialogs when kmail is restarted.
(David Rugge)
-- End of report --
["kdenetwork.kmail.11-08-99.diff" (text/plain)]
Index: kmail/kmfolderdir.cpp
===================================================================
RCS file: /home/kde/kdenetwork/kmail/kmfolderdir.cpp,v
retrieving revision 1.11.4.3
diff -u -r1.11.4.3 kmfolderdir.cpp
--- kmfolderdir.cpp 1999/08/05 10:54:09 1.11.4.3
+++ kmfolderdir.cpp 1999/08/11 08:24:16
@@ -90,7 +90,13 @@
return NULL;
}
- append(fld);
+ KMFolderNode *node;
+ int idx = 0;
+ for(node = first(); node; node=next(), idx++)
+ {
+ if (strcasecmp(node->name().data(),aFolderName) > 0) break;
+ }
+ insert(idx, fld);
return fld;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic