GQ

GQ can compare items

Screenshot

Nice Tree Effect

Did you ever wonder why applications like nautilus display a node called »(empty)« in the tree? I didn't. There are several reasons that could be brought up here, but in my opinion the Windows Explorer just got it right:

  1. if you don't know, display an expander
  2. if you look at it and it's empty, just remove the expander

So I tried to implement this behaviour in GQ. It wasn't very easy, but it works. As I wrote last week, I suspected a bug in that code, so I developed a small test case to play with that feature. If you're interested in it for your application, take my example and build your own tree model.

The dark traps of refactoring… (or, not every bug is a platform bug)

When I ported the GtkCTree from GQ to GtkTreeView and GtkTreeModel I started to get a really strange problem:

Gtk-ERROR **: file gtktreeview.c: line 4726 (gtk_tree_view_bin_expose): assertion failed: (node != tree->nil)
aborting...
Aborted (core dumped)

This didn't happen always but happened some times (approximately ~20% of the "expand a node" cases).

Status von GQ

Es ist vollbracht: Version 1.0 Beta 2 ist raus. Jetzt noch ein paar Dinge in den Griff bekommen, dann kann 1.0 'rauskommen und das eigentliche Hacken richtig losgehen.

Das einzige, was jetzt noch zum RC fehlt, ist die SASL-Authentifizierung, und das kriegen wir sicher noch hin.

Syndicate content