Hello all,
I have been playing with the file selection and component selection
dialogs (see below for download instructions).
The code of the former has been cleaned-up a bit. The latter has been
rewritten for GTK 2.x: GtkTreeView instead of GtkCList, new object for
complete dialog... These two dialogs also have working preview.
They are still a few problems: among them, note that the search
function in component selection does not work yet or you can not
prevent from doing a preview in the file selector. That will be fixed
soon.
You will need at least GTK 2.4.
I have a few ideas for restructuring the component selection dialog:
- joining the two lists for directories and components into a single
model and a single tree.
- when doing a search, the tree should only display directories
where there are components that match the criteria and only
display these components (not other).
- moving the action (reference/embed/include) to a contextual
menu when placing component.
If you think of something else, let me know.
As always, comments are welcome.
Regards,
Patrick
Note: I am using bazaar (http://bazaar.canonical.com) as a personal
version control system. My archive is mirrored at:
http://www.chbcp.net/~pat/arch/[EMAIL PROTECTED]
So if you want to test these changes, you will need to retrieve:
libgeda--dev--2
gschem--dev--2
You can also download snapshots of my source tree for libgeda and
gschem:
http://www.chbcp.net/~pat/geda/libgeda-dev20051028.tar.gz
http://www.chbcp.net/~pat/geda/geda-gschem-dev20051028.tar.gz