forked from osmocom/wireshark
As suggested by Michael in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4605 :
Add a tooltip to tell users they can click to see the other IP addresses for the selected interface. svn path=/trunk/; revision=52792
This commit is contained in:
parent
5abe9d8a89
commit
be86384b34
|
@ -787,6 +787,7 @@ capture_if_refresh_if_list(void)
|
|||
if (get_ip_addr_count(device.if_info.addrs) > 1) {
|
||||
/* More than one IP address, make it possible to toggle */
|
||||
g_object_set_data(G_OBJECT(eb), CAPTURE_IF_IP_ADDR_LABEL, data.ip_lb);
|
||||
gtk_widget_set_tooltip_text(eb, "Click to see additional IP addresses");
|
||||
g_signal_connect(eb, "enter-notify-event", G_CALLBACK(ip_label_enter_cb), NULL);
|
||||
g_signal_connect(eb, "leave-notify-event", G_CALLBACK(ip_label_leave_cb), NULL);
|
||||
g_signal_connect(eb, "button-press-event", G_CALLBACK(ip_label_press_cb), device.if_info.addrs);
|
||||
|
|
Loading…
Reference in New Issue