http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=23426
User: sake
Date: 2007/11/10 11:05 PM
Log:
Make the enable/disable buttons on the coloring rule list follow
the selection. There is a little difference between the behaviour
in GTK1 and GTK2 (As long as either one row or a block of rows with
the same status is selected, GTK1 and GTK2 behave the same way):
GTK1:
- if the last selected row is disabled, grey out the disable button
- if the last selected row is enabled, grey out the enable button
GTK2:
- grey out both buttons when no rule is selected
- grey out the enable button when *all* selected rules are enabled
- grey out the disable button when *all* selected rules are disabled
- leave both buttons active if there is a mix of disabled and enabled
rules
Directory: /trunk/gtk/
Changes Path Action
+15 -5 color_dlg.c Modified