https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2732
Summary: Some buttons are always disabled in the "User DLTs
Table" dialog
Product: Wireshark
Version: SVN
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: Minor
Priority: Low
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: sarkar.abhik@xxxxxxxxx
Abhik Sarkar <sarkar.abhik@xxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #2054| |review_for_checkin?
Flag| |
Created an attachment (id=2054)
--> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2054)
Workaround patch
Build Information:
SVN 25787
--
Reproduction:
==============
- WS > Edit > Preferences > Protocols > DLT_USER > Edit
- Add a couple of entries.
- Select one entry.
Problem:
==============
One would expect the Delete and Edit buttons (and either or both of the Up and
Down buttons) to become active. However, it doesn't happen.
Workaround:
==============
The attached patch fixes the problem (at least on my Windows XP machine), but I
can't be sure if this is only a workaround and not the solution.
Investigation:
==============
Debugging with VS2005EE shows that this line:
rep->selection =
gtk_tree_view_get_selection(GTK_TREE_VIEW(rep->clist));
results in rep->selection remaining null and therefore the subsequent
g_signal_connect on it has no effect.
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.