port some GtkTreeviews and related models to GListModel
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 aGListModel
. This allows us to drop quite a bit of custom code to have an adaptive list of modules by just becoming aGListModel
implementation.Next to that, this commit also rewrites
GimpModule
to use thenotify
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 likeg_object_bind_property()
.Finally, the module manager dialog now uses
GtkListBox
, which can easily bind to that newGListModel
infrastructure.