Open
Conversation
Features: - Notes are moved to archive instead of permanent deletion - Configurable retention period (default: 30 days, 0 = forever) - Optional delete confirmation dialog (disabled by default) - Archive viewer with restore and permanent delete options - Auto-cleanup of old archived notes on startup Changes: - stickynotes/info.py: Add default settings for archive - stickynotes/backend.py: Implement archive storage and management - stickynotes/gui.py: Add ArchiveDialog and settings UI - indicator-stickynotes.py: Add 'Archive' menu item Closes: Note recovery feature request
Add archive functionality for deleted notes
indicator-stickynotes.py: Add support for Ayatana AppIndicator.
- Replace deprecated Indicator.set_icon() with set_icon_full() - Use keyword arguments for Gtk.MenuItem() constructors - Fixes 12 PyGTKDeprecationWarnings and 1 DeprecationWarning This makes the code compatible with modern PyGObject/GTK3 standards.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Indicator.set_icon()withset_icon_full()Gtk.MenuItem()constructorsDetails
This PR modernizes the code to be compatible with current PyGObject/GTK3 standards by:
set_icon()toset_icon_full()with proper descriptionlabel=instead of positional argumentsTesting
Compatibility
AppIndicator3andAyatanaAppIndicator3