Manuel-Kehl / Go-For-It

A stylish to-do list with built-in productivity timer. NOTE: all contributions should go to Jonathan Moerman's fork because this is where active development is taking place: https://github.com/JMoerman/Go-For-It
http://manuel-kehl.de/projects/go-for-it/
GNU General Public License v3.0
516 stars 51 forks source link

Support Gtk < 3.10 #30

Closed Manuel-Kehl closed 8 years ago

Manuel-Kehl commented 9 years ago

I have been receiving a considerable amount of requests from users of older distributions, that do not have Gtk 3.10 available. Unfortunately the UI elements used (especially the Gtk.Stack) don't allow for lowering that dependency.

That being said, the amount of demand may justify the work it would take to maintain a separate branch, with all the problematic widgets replaced by more traditional ones. I started this issue to coordinate this task and collect a list of steps, that would need to be taken.

Manuel-Kehl commented 9 years ago

It would be great, if we'd abstract the MainWindow class in a way, that allows for automatic selection of the correct file via a rule in CMakeLists.txt, depending on the available build dependencies.

That being said, we'd have to make sure, that only the differences are maintained in different files and all reusable code resides in the parent class.

voldyman commented 9 years ago

Regarding the headerbar issue, I did something similar, made an interface which is implemented by a class for Headerbar and a class for Toolbar and i use the interface in the main window. The main windows uses the headerbar or the toolbar according to a gsettings key. now this works but i am not particularly happy with the code duplication. I'll update when i find a better solution.

JMoerman commented 8 years ago

I'm closing this as this has been included in Go For It! for some time now. If issues remain and < 3.10 is still in use this can be reopened.