Wireshark-bugs: [Wireshark-bugs] [Bug 3764] GTK2 based packet list - patches

Date: Sat, 25 Jul 2009 02:21:55 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3764





--- Comment #21 from Anders Broman <anders.broman@xxxxxxxxxxxx>  2009-07-25 02:21:52 PDT ---
Something missing here? row is not used and it will select the first row,
right?

+static void
+new_packet_list_select_row(guint row)
+{
+       GtkTreeModel *model = GTK_TREE_MODEL(packetlist);
+       GtkTreeIter iter;
+
+       if(!gtk_tree_model_get_iter_first(model, &iter))
+               return;
+
+       scroll_to_and_select_iter(&iter);
+}
+


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.