Changeset View
Changeset View
Standalone View
Standalone View
sweeper.cpp
Show First 20 Lines • Show All 146 Lines • ▼ Show 20 Line(s) | 124 | { | |||
---|---|---|---|---|---|
147 | } | 147 | } | ||
148 | 148 | | |||
149 | ui.statusTextEdit->append(i18n("Clean up finished.")); | 149 | ui.statusTextEdit->append(i18n("Clean up finished.")); | ||
150 | } | 150 | } | ||
151 | 151 | | |||
152 | void Sweeper::InitActions() { | 152 | void Sweeper::InitActions() { | ||
153 | // store all entries in a list for easy access later on | 153 | // store all entries in a list for easy access later on | ||
154 | checklist.append(new ClearSavedClipboardContentsAction(generalCLI)); | 154 | checklist.append(new ClearSavedClipboardContentsAction(generalCLI)); | ||
155 | checklist.append(new ClearRecentDocumentsAction(generalCLI)); | 155 | checklist.append(new ClearRecentDocumentsAction(generalCLI)); | ||
ltoscano: What is the scope of this action then? The description seems to overlap with the new "clean… | |||||
Yeah, that is indeed confusing. It clears out ~/.local/share/RecentDocuments (which works here), but apparently isn't used by any Plasma launcher AFAICT, which all seem to use KActitvities. Websites I open via links from KDE Applications in Firefox appear in ../RecentDocuments for example, but don't appear under Recent Documents in the launchers. heikobecker: Yeah, that is indeed confusing.
It clears out ~/.local/share/RecentDocuments (which works… | |||||
You should probably clear both the ~/.local/share/RecentDocuments and the statistics from KAMD. ivan: You should probably clear both the ~/.local/share/RecentDocuments and the statistics from KAMD. | |||||
156 | checklist.append(new ClearRunCommandHistoryAction(generalCLI)); | 156 | checklist.append(new ClearRunCommandHistoryAction(generalCLI)); | ||
157 | #ifdef Q_WS_X11 | 157 | if (QDBusConnection::sessionBus().interface()->isServiceRegistered(QStringLiteral("org.kde.ActivityManager"))) { | ||
158 | checklist.append( new ClearRecentApplicationAction( generalCLI ) ); | 158 | checklist.append( new ClearRecentApplicationAction( generalCLI ) ); | ||
159 | #endif | 159 | } | ||
160 | checklist.append(new ClearThumbnailsAction(generalCLI)); | 160 | checklist.append(new ClearThumbnailsAction(generalCLI)); | ||
161 | 161 | | |||
162 | checklist.append(new ClearAllCookiesAction(webbrowsingCLI)); | 162 | checklist.append(new ClearAllCookiesAction(webbrowsingCLI)); | ||
163 | checklist.append(new ClearFaviconsAction(webbrowsingCLI)); | 163 | checklist.append(new ClearFaviconsAction(webbrowsingCLI)); | ||
164 | checklist.append(new ClearWebHistoryAction(webbrowsingCLI)); | 164 | checklist.append(new ClearWebHistoryAction(webbrowsingCLI)); | ||
165 | checklist.append(new ClearWebCacheAction(webbrowsingCLI)); | 165 | checklist.append(new ClearWebCacheAction(webbrowsingCLI)); | ||
166 | checklist.append(new ClearFormCompletionAction(webbrowsingCLI)); | 166 | checklist.append(new ClearFormCompletionAction(webbrowsingCLI)); | ||
167 | checklist.append(new ClearAllCookiesPoliciesAction(webbrowsingCLI)); | 167 | checklist.append(new ClearAllCookiesPoliciesAction(webbrowsingCLI)); | ||
168 | 168 | | |||
169 | ui.privacyListView->resizeColumnToContents(0); | 169 | ui.privacyListView->resizeColumnToContents(0); | ||
170 | } | 170 | } | ||
171 | 171 | | |||
172 | // kate: tab-width 3; indent-mode cstyle; replace-tabs true; | 172 | // kate: tab-width 3; indent-mode cstyle; replace-tabs true; |
What is the scope of this action then? The description seems to overlap with the new "clean applications and documents" (and apparently does not work)