Wireshark-bugs: [Wireshark-bugs] [Bug 1876] ethereal: Resizing columns changes the currently-sel

Date: Wed, 7 Nov 2007 15:29:30 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1876


did447@xxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |did447@xxxxxxxxx




------- Comment #1 from did447@xxxxxxxxx  2007-11-07 15:29 GMT -------

The patch 04_menu_select_pane1.patch at
http://wiki.wireshark.org/Development/Optimization

Fix this bug (I can't create attachment in bugzilla)

It's small so I copy and paste it here:

=== modified file 'gtk/menu.c'
--- gtk/menu.c  2007-10-06 18:19:09 +0000
+++ gtk/menu.c  2007-10-06 18:29:18 +0000
@@ -2111,7 +2111,7 @@
      * as a pixmap.
      */
     /* Check if we are on packet_list object */
-    if (widget == OBJECT_GET_DATA(popup_menu_object, E_MPACKET_LIST_KEY)) {
+    if (widget == OBJECT_GET_DATA(popup_menu_object, E_MPACKET_LIST_KEY) &&
((GdkEventButton *)event)->button != 1) {
         if (packet_list_get_event_row_column(widget, (GdkEventButton *)event,
                                              &row, &column)) {
             OBJECT_SET_DATA(popup_menu_object, E_MPACKET_LIST_ROW_KEY,


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