[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    [Bug 63399] Context menu for 'New Folder...' is confusing on
From:       Don Sanders <don () sanders ! org>
Date:       2003-12-03 11:53:57
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=63399     
don@sanders.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From don@sanders.org  2003-12-03 12:53 -------
Subject: kdepim/kmail

CVS commit by sanders: 

Trivial fix 63399
CCMAIL:63399-done@bugs.kde.org


  M +8 -4      kmfoldertree.cpp   1.273


--- kdepim/kmail/kmfoldertree.cpp  #1.272:1.273
@@ -959,4 +959,5 @@ void KMFolderTree::slotContextMenuReques
     if (!fti->folder()) createChild = i18n("&New Folder...");
 
+    if (fti->folder() || (fti->text(0) != i18n("Searches")))
     folderMenu->insertItem(SmallIcon("folder_new"),
                            createChild, this,
@@ -977,5 +979,7 @@ void KMFolderTree::slotContextMenuReques
                                i18n("&Send Queued Messages"), mMainWidget,
                                SLOT(slotSendQueued()));
-    if (!fti->folder()->isSystemFolder() || fti->folder()->folderType() == KMFolderTypeImap)
+    if ((!fti->folder()->isSystemFolder() && 
+         (fti->folder()->folderType() != KMFolderTypeSearch)) ||
+        fti->folder()->folderType() == KMFolderTypeImap)
     {
       folderMenu->insertItem(SmallIcon("folder_new"),
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic