-
Notifications
You must be signed in to change notification settings - Fork 26
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
panelicon: add option to have both toggle and popup menu #349
Conversation
To fix translations, you need to run |
I ran it, but I'm getting this error on the CI:
I checked out the file location and found this: #: ddterm/pref/glade/prefs-panel-icon.ui:57
msgid "Toggle button"
msgstr "Bouton de basculement"
#: ddterm/pref/glade/prefs-panel-icon.ui:58
#, fuzzy
msgid "Toggle button and popup menu"
msgstr "Bouton de basculement" # this line 819 Shouldn't that be empty? |
Yes, it should be empty. Likely I should rethink how translations are maintained/processed. For now you can remove |
From reading the docs, it looks like it is possible to disable fuzzy matching with the flag |
ee9022f
to
584bc50
Compare
Thank you and sorry for the inconvenience with translations |
Could you refactor |
I thought of doing it like that at first, but decided not to because:
I can still do the refactor if you prefer, but this is my reasoning. |
The menu has higher chance of being changed. Right now, if you want to add a menu item, you'll have to do it in two places. And there's not much that can be changed in a simple toggle button, so duplication here is a smaller problem.
Not merging, just removing |
Yeah makes sense. Thanks for explaining! |
As discussed in #328, I added a new panel button that includes the functionality of both previously available options (toggle and popup menu). I tested it using a touchpad and a mouse and it worked well on both cases.
I already ran the CI and it is failing at the step "Ensure translations are up to date", which I'm not sure how to fix 😅.
As usual, thanks for developing
ddterm
! 🚀