Make work better the (hexdump) popup menus.
authordeniel <deniel@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 21 Aug 2000 12:33:22 +0000 (12:33 +0000)
committerdeniel <deniel@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 21 Aug 2000 12:33:22 +0000 (12:33 +0000)
commit7a13286b2fabf2878823d501a0489fb513400e93
tree560b44a021b79008e8cd9d618a7657db1952f234
parentd6824b1f386e25f6c05ab70361f11362c995faae
Make work better the (hexdump) popup menus.

- have popup_menu_handler return TRUE or FALSE according
  to the fact that the event is really processed or not.
- use gtk_signal_connect instead of gtk_signal_connect_object
  to have the widget that emitted the signal _and_ the popup
  menu widget.
- call gtk_signal_emit_stop_by_name to abort the propagation
  if the signal was processed.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2318 f5534014-38df-0310-8fa8-9805f1628bb7
gtk/main.c
gtk/menu.c
gtk/menu.h