This patch adds (ten) temporary coloring rules which will only live until Wireshark is
authorsake <sake@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 24 Nov 2007 11:38:16 +0000 (11:38 +0000)
committersake <sake@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 24 Nov 2007 11:38:16 +0000 (11:38 +0000)
commit794d037da5577645c296b216508d12f59e1da89c
tree0944b3a1a037c65b5da06485b6aeb5312073d56e
parent14d5bf70ef9ae1dd3893ddb50718292eaea63708
This patch adds (ten) temporary coloring rules which will only live until Wireshark is
quit. Temporary coloring filters can be set by:

- pressing <ctrl>-<digit> will create a conversation coloring filter based on the
  addresses of the currently selected packet (order TCP/UDP/IP/Ethernet)
  This can also be achieved from the "View|Colorize Conversation" menu.

- Rightclicking on a packet in the packet-list will give the option to
  "Colorize Conversation" just as "Conversation Filter" does.

- Rightclicking on an item in the packet-detail-list will give the option to
  "Colorize with filter" which works similar to "Apply as filter"

Temporary filters can be cleared from the same menus or by pressing <ctrl>-<space>.

This patch also adds an item to the above mentioned menu's to add a permanent color filter
in the same way.

The colors for the temporary coloring rules are now hardcoded as I do not know
how to change the color of menu-items and therefore I chose to use icons to
show the actual color of each of the ten temporary coloring rules. Is it at all
possible to have different menu items in different colors?

One other way of solving this is to recreate the icons on the fly after changing
the colors. I will have a look into that once it is clear whether I can use
different colors within the menu structure.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23560 f5534014-38df-0310-8fa8-9805f1628bb7
16 files changed:
AUTHORS
color_filters.c
color_filters.h
doc/wireshark.pod
docbook/wsug_src/WSUG_chapter_customize.xml
docbook/wsug_src/WSUG_chapter_use.xml
docbook/wsug_src/WSUG_chapter_work.xml
epan/prefs.c
epan/prefs.h
gtk/color_dlg.c
gtk/compat_macros.h
gtk/main.c
gtk/main.h
gtk/menu.c
gtk/toolbar.c
help/getting_started.txt