[Github-comments] [geany] Preferences -> Keybindings window does not remember collapsed / expanded menus (#645)

Akronix notifications at xxxxx
Fri Oct 30 17:20:01 UTC 2015


Hmmm I think the GtkTreeView stores all the info about what's being collapsed and expanded. I was looking for a way to get the data corresponding to that info inside the GtkTreeView, store it inside Geany and look for the way to rebuild the tree from that data. But I haven't found anything from GTK to be able to follow that "easy" approach.

It's true things become more complicated as plugins can be enabled/disabled. We could solve it like this:
1. whenever a plugin becomes enabled, It starts with its keybindings expanded.
2. meanwhile keeps enabled, data about whether it's expanded/collapse is stored as others.
3. whenever a plugin becomes disabled, the data stored for the GtkTreeView is removed. 

Anyway, it's becoming harder than I expected.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/645#issuecomment-152592264
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151030/1cbce4de/attachment.html>


More information about the Github-comments mailing list