Add proper labels to Trash Emptied notification
ClosedPublic

Authored by broulik on Sep 18 2018, 1:08 PM.

Details

Summary

It is not shown by default but when the user enables it, it should show something sensible.

Test Plan


Before it was just a generic useless KDE logo with "Plasma Workspace" heading

Diff Detail

Repository
R318 Dolphin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Sep 18 2018, 1:08 PM
Restricted Application added a project: Dolphin. · View Herald TranscriptSep 18 2018, 1:08 PM
Restricted Application added a subscriber: kfm-devel. · View Herald Transcript
broulik requested review of this revision.Sep 18 2018, 1:08 PM
elvisangelaccio accepted this revision.Sep 22 2018, 8:18 AM
elvisangelaccio added a subscriber: elvisangelaccio.
elvisangelaccio added inline comments.
src/trash/dolphintrash.cpp
71

Maybe "folder" is redundant?

This revision is now accepted and ready to land.Sep 22 2018, 8:18 AM
abetts added a subscriber: abetts.Sep 22 2018, 12:55 PM

Love it! +1

ngraham added inline comments.
src/trash/dolphintrash.cpp
71

Agreed, we don't need the word "folder" in this string. In fact, the whole string is redundant since the title "Trash Emptied" already tells you everything you need to know.

broulik added inline comments.Sep 22 2018, 6:40 PM
src/trash/dolphintrash.cpp
71

Yes but there must also be a main notification text

If that's the case, do we have just a trash icon, without the folder?

If that's the case, do we have just a trash icon, without the folder?

user-trash looks like a folder at larger sizes. trash-empty might even be more semantically appropriate here, and it doesn't look like a folder at a large size. It does look a bit... spartan, though. Might be worth giving it a prettier version for the large sizes.

Or perhaps we could change user trash so that its large sizes don't look like a folder. It is after all rather odd to visually indicate that the trash is a folder. It should probably look like a trash can, not a folder.

broulik updated this revision to Diff 43307.Oct 10 2018, 2:10 PM
  • Drop "Folder"
ngraham accepted this revision.Oct 10 2018, 2:25 PM

All right, ship it! Let's improve the icon in https://bugs.kde.org/show_bug.cgi?id=399613

This revision was automatically updated to reflect the committed changes.