Thanks,
I've now changed it so that the column index is also used in the tree view.
Regards
Anders

-----Ursprungligt meddelande-----
Från: [email protected]
[mailto:[email protected]] För Jakub Zawadzki
Skickat: den 12 juli 2009 20:15
Till: Developer support list for Wireshark
Ämne: Re: [Wireshark-dev] New packet list - small fixes

On Sun, Jul 12, 2009 at 11:08:59AM +0200, Anders Broman wrote:
> I haven't figured out where packet_list_get_value():s column
> value comes from yet. 

It's set by gtk_tree_view_column_add_attribute(..., "text", X) call

Doc:
http://library.gnome.org/devel/gtk/stable/GtkTreeViewColumn.html#gtk-tree-vi
ew-column-add-attribute
"So for example if column 2 of the model contains strings, you could
have the "text" attribute of a GtkCellRendererText get its values from
column 2."

In attachment patch.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to