diff options
author | Corey Berla <corey@berla.me> | 2023-04-13 15:50:41 -0700 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2023-04-21 06:54:06 +0000 |
commit | f763e1f97cf4d47ca70ab6f964460e72206bbced (patch) | |
tree | 2d78eba4670489c4b98a1592b254350e0ad45eed /.editorconfig | |
parent | a76d23f79ef558dbed8109d5469abeb5d6a78666 (diff) | |
download | nautilus-f763e1f97cf4d47ca70ab6f964460e72206bbced.tar.gz |
window: Dismiss previous undo toast when undo action has changed
We present a new toast every time the undo action changed which
is confusing because you might have several undo toasts appearing
over each other. To complicate matters, the previous undo toasts
lie (undo'ing would actually undo a different action).
There was a proposal in #2350 to batch undo toasts, but that's problematic
because our undo manager is designed to undo exactly 1 action,
we do not have an undo stack.
The more straightforward solution seems to be simply dismissing the
old undo toasts, when we popup a new undo toast.
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2350
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions