Comment 2 for bug 1179200

Revision history for this message
André Auzi (aauzi) wrote :

The attached patch improves the situation.

The problem was apparently due to the handle, in the bookmarks panel of the katze array UPDATE signal.

This signal is widely used an, in the case of bookmarks, generates a refresh of the whole tree view from the database.

The proposed patch does not change this behaviour, used by bookmark imports, but reduces its unexpected effects.

It implements tree store manipulations based on the already exiting ADD_ITEM and REMOVE_ITEM plus an additional one created for the circumstance: UPDATE_ITEM.

It is worth to mention that this patch implements the GtkTreeDragDestIFace in a subclass of GtkTreeStore which seems to be the first stone for complete Drag and Drop handling of bookmarks (which may come later).

So far, with the patch the annoyance is less probable and the bookmarks panel more usable ;)