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

List:       kde-pim
Subject:    Re: [Kde-pim] Review Request 108665: Add 'Add New Tag...' action to Message->Mark Message menu
From:       "Laurent Montel" <montel () kde ! org>
Date:       2013-01-30 12:52:51
Message-ID: 20130130125251.6872.25041 () vidsolbach ! de
[Download RAW message or body]


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108665/#review26417
-----------------------------------------------------------



kmail/tagactionmanager.cpp
<http://git.reviewboard.kde.org/r/108665/#comment20108>

    Why don't use mActionCollection ?


- Laurent Montel


On Jan. 30, 2013, 12:50 p.m., Dan Vrátil wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108665/
> -----------------------------------------------------------
> 
> (Updated Jan. 30, 2013, 12:50 p.m.)
> 
> 
> Review request for KDEPIM and Laurent Montel.
> 
> 
> Description
> -------
> 
> This patch adds 'Add New Tag...' action to 'Message'->'Mark Message' menu in KMail. \
> Otherwise there's no other way to create a new tag in KMail (I had to tag a random \
> file in Dolphin so that the tag would appear in KMail and I could use it to tag my \
> emails). 
> The patch also ensures that selected items are preserved when a tag is \
> added/changed/removed. The tag actions are checked only when a message is selected, \
> but when you select a message which already has a tag, create a new tag in Dolphin, \
> then right-click the message in KMail, it will not have any tags checked, because \
> clearActions(); createActions(); has recreated all KActions (thus all items are \
> unchecked), but selection has not changed (thus the actions were not checked). 
> Now the URIs of checked tags are stored before calling clearActions() and restored \
> after createActions() call. 
> 
> Diffs
> -----
> 
> kmail/tagactionmanager.h 57535f9 
> kmail/tagactionmanager.cpp f6ee098 
> 
> Diff: http://git.reviewboard.kde.org/r/108665/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Dan Vrátil
> 
> 

_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


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

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