Skip to content

port some GtkTreeviews and related models to GListModel

Niels De Graef requested to merge nielsdg/prefs-themes-listbox into master

First commit:

app: Use a GtkListBox for the themes list

Use a GtkListBox to show the list of GIMP themes rather than a treeview. The idea is that we can expand this a bit more to give a preview of the theme later on.

Second commit:

libgimpmodule: Convert ModuleDB to GListModel

This commit converts GimpModuleDB into a GListModel. This allows us to drop quite a bit of custom code to have an adaptive list of modules by just becoming a GListModel implementation.

Next to that, this commit also rewrites GimpModule to use the notify signal for its 2 new properties: "auto-load" and "on-disk", rather than trying to define a custom signal for that. This in turn allows us to use basic methods like g_object_bind_property().

Finally, the module manager dialog now uses GtkListBox, which can easily bind to that new GListModel infrastructure.

Merge request reports