[Geany] [Patch] support for icons in symbols tree

Jean-François Wauthy pollux at xxxxx
Thu Jul 19 12:01:17 UTC 2007


Hi

I put together a patch that adds icons in the symbol treeview. I had to
change the way tag_list_add_groups works: now each group takes an
additional parameter; this parameter is the name of the themable icon to
use for the group or NULL to avoid setting an icon. Later when adding
the members, they will use the icon of their parent iter.

As a side question, why do you parse the string stored in the treeview
instead of simply adding a column storing the line number (as an
integer) associated with the symbol in the model and not showing in
tree ?

Cheers

PS: i have attached the icons i used because diff does not support
binary files. After applying the patch you have to copy them in the
icons/16x16 directory.
-- 
Jean-François Wauthy <pollux at xfce.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icons_in_symbols_tree.diff
Type: text/x-patch
Size: 20874 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20070719/7990c4a1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: classviewer-class.png
Type: image/png
Size: 367 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20070719/7990c4a1/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: classviewer-macro.png
Type: image/png
Size: 332 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20070719/7990c4a1/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: classviewer-member.png
Type: image/png
Size: 321 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20070719/7990c4a1/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: classviewer-method.png
Type: image/png
Size: 320 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20070719/7990c4a1/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: classviewer-namespace.png
Type: image/png
Size: 310 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20070719/7990c4a1/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: classviewer-other.png
Type: image/png
Size: 287 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20070719/7990c4a1/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: classviewer-struct.png
Type: image/png
Size: 355 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20070719/7990c4a1/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: classviewer-var.png
Type: image/png
Size: 293 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20070719/7990c4a1/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://lists.geany.org/pipermail/users/attachments/20070719/7990c4a1/attachment.pgp>


More information about the Users mailing list