Commit Graph

7 Commits (c03c2112f34fcb9769dcb6e4e4811d2b0cfe8106)

Author SHA1 Message Date
Michele Calgaro 85e0371c0e
Unified widget code for trash property dialog and TDE control module.
This resolves bug 1923.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro c53dbf95cb
Improved code for trash bin management.
1. When size limit is used, a file bigger than the trash size can't be
trashed anymore (a warning message is shown).
2. When size limit is used and warning policy selected, files can't be
trashed anymore if the total size of the trash will exceed the set size
(a warning message is shown).
3. When the trash size settings are modified, the content of the trash
is adjusted based on the new settings.
4. Fixed load/saving of trash options when more than one trash folder exists.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 691c9204a1
Added TDE Control module for trash policy configuration.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 48635e6343
Added trash size limit property page link to trash folder right click
popup menu and trash applet panel.
Added a new konqueror side bar button to directly display the contents
of the trash bin.
This relates to bug 1923.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro b6887381d7 Trash limit: add "fixed size" configuration option and code
improvements. This relates to bug 1923.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 years ago
Michele Calgaro 6110a523f9 Trash limit: clean up previous patch (KDE -> TDE conversion, debug messages, TQt
signals/slots...). Improved error message when a file is too big to fit
within the max trash size limit.
This relates to bug 1923.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 years ago
Emanoil Kotsev ee3091bc41 Added trash limit configuration option
This work is based on original patch created by Tobias Koenig <tokoe@kde.org> for KDE 3.5.9 and later added to KDE 4.2, and available under GPL version 2 License, or any later version.
See also http://tokoe-kde.blogspot.com/2008/08/size-limits-for-trash.html
This relates to bug 1923.

Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 years ago