Reload a tag in the sidebar only when it differs from the existing tag
commit35bde6c5ad0d008f807b88f8430517c282d2bc00
authorJiří Techet <techet@gmail.com>
Mon, 20 Apr 2015 19:23:54 +0000 (20 21:23 +0200)
committerJiří Techet <techet@gmail.com>
Sun, 3 May 2015 17:36:26 +0000 (3 19:36 +0200)
treee8020c7973d8167c0f4a3336875c079b98aa994b
parent5d94d15976ab83f8bea2a6bda866d19a549f787e
Reload a tag in the sidebar only when it differs from the existing tag

gtk_tree_store_set() becomes very slow when the tree gets bigger
because internally it calls gtk_tree_store_get_path() which counts
all the entries in a linked list of elements at the same tree level
to get the tree path.

Avoid the call of this function when not needed.
src/symbols.c
tagmanager/src/tm_tag.c
tagmanager/src/tm_tag.h