[Github-comments] [geany/geany] Prefs dialog: Disable overridden pref widgets when project is open (#2316)
Nick Treleaven
notifications at xxxxx
Mon Sep 23 13:35:35 UTC 2019
Fixes #1363.
Similar to #1750, this disables pref widgets that are overridden by an open project. (It doesn't disable the frame label). Instead of editing a translatable label, this adds an info image next to the frame/widget label. A tooltip is set to show when the mouse is over the label or the image. This doesn't try to change the tooltip for disabled widgets, I didn't find a way to implement that easily and cleanly.
![image](https://user-images.githubusercontent.com/1107820/65428866-103ec100-de0d-11e9-91b1-dc038082b1ee.png)
This approach can also be used to indicate which prefs are overridden by document-specific settings.
ATM this only affects the 'Saving files' prefs, but I can add the others.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2316
-- Commit Summary --
* Prefs dialog: Disable overridden pref widgets when project is open
-- File Changes --
M data/geany.glade (32)
M src/prefs.c (9)
-- Patch Links --
https://github.com/geany/geany/pull/2316.patch
https://github.com/geany/geany/pull/2316.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2316
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190923/deb2d715/attachment.html>
More information about the Github-comments
mailing list