Review Request 110459: Klipper: Allow to keep items in clipboard history
José Millán Soto
fid at gpul.org
Wed May 15 20:39:36 BST 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/110459/
-----------------------------------------------------------
Review request for kde-workspace.
Description
-------
This patch allows users to prevent important items from being overwritten in the clipboard history.
Methods keep and setKeep were added to HistoryItem. If an item has keep set to true, it will not be overwritten.
A submenu was added to set whether an item should be kept in history.
Even if there are more elements in the list than the maximum number of entries, the newest element copied to the clipboard will be in the clipboard item.
In order to allow Klipper to read history files written with previous versions of Klipper, saving and loading if an item should be kept is handled in klipper.cpp and not by the item.
This addresses bug 54212.
http://bugs.kde.org/show_bug.cgi?id=54212
Diffs
-----
klipper/history.cpp 49e9bb0
klipper/historyitem.h 6c41d5d
klipper/historyitem.cpp 21fbe4e
klipper/klipper.h bbfd9c9
klipper/klipper.cpp cf41bd2
klipper/klipperpopup.h 31beff2
klipper/klipperpopup.cpp bff2c25
klipper/popupproxy.h 910bd6e
klipper/popupproxy.cpp 555f383
Diff: http://git.reviewboard.kde.org/r/110459/diff/
Testing
-------
Thanks,
José Millán Soto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20130515/3e17193c/attachment.htm>
More information about the kde-core-devel
mailing list