Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix history appindicator menu desynchronization #180

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BLaDZer
Copy link

@BLaDZer BLaDZer commented Mar 16, 2021

should fix #179

@BLaDZer BLaDZer changed the title Fix history appindicator menu desynchronization #179 Fix history appindicator menu desynchronization Mar 16, 2021
@BLaDZer
Copy link
Author

BLaDZer commented Mar 16, 2021

another solution is to call save_history() after

history = g_list_remove_link(history, duplicate_elem);
history = g_list_concat(duplicate_elem, history);

to store this changes in history file but then there also need an additional check if history list was actually changed (example: when replacing top item with same text) or just check only first list element

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[appindicator] Force update indicator menu on clipboard changes
1 participant