Undo functionality for sticky notes #17

Closed
taisto opened this Issue Oct 7, 2012 · 4 comments

Projects

None yet

2 participants

@taisto
taisto commented Oct 7, 2012

Sticky notes is quite practical, but it happens easily that text gets deleted by accident. Thus some form of undo (ctrl-z) would be very helpful.

Longstanding feature request consequently ignored by gnome devs: https://bugzilla.gnome.org/show_bug.cgi?id=305654

@stefano-k
Member

This is hard to implement because Sticky notes uses GtkTextView, and it comes without undo support. I think we need to check if we can replace that control with another one with undo support.

@taisto
taisto commented Nov 18, 2012

I guess that would be GtkSourceView. http://projects.gnome.org/gtksourceview/

Another approach might be to look at some existing lightweight editor like leafpad and reuse its undo support. http://tarot.freeshell.org/leafpad/

@stefano-k stefano-k added a commit that closed this issue Jan 30, 2014
@stefano-k stefano-k stickynotes: Add undo/redo feature
Using GtkSourceView instead of GtkTextView
This adds new dependency to package to build this applet

Closes #17
#17
c8a85a6
@stefano-k stefano-k closed this in c8a85a6 Jan 30, 2014
@stefano-k
Member

Done

@taisto
taisto commented Feb 1, 2014

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment