Yes... more reasonable to move them to new_packet_list.c. Thanks, Stig.
/Gerasimos
2010/1/27 Stig Bjørlykke <stig.bjorlykke@xxxxxxxxx>:
> On 26. jan. 2010, at 19.21, dimeg@xxxxxxxxxxxxx wrote:
>
>> Log:
>> Move underscore escaping/unscaping function to strutil.c;
>
> I think we have to move the usage of this functions to gtk/new_packet_list.c where we actually add the text to the GtkWidget, because we have many more places using the title and we can't have to escape/unescape every time we modify our internal values. Have a look at the output from our File->Export functions.
>
> I have committed revision 31689, which fixes this.
>
> Now we may move the ws_strdup_escape/unescape_underscore() functions to gtk/new_packet_list.c?
>
>
> --
> Stig Bjørlykke
>
>
> ___________________________________________________________________________
> Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives: http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>