diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2013-10-23 14:41:30 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2013-10-23 14:41:30 +0000 |
commit | be86384b34b8ea02963a335ea05ac186c3eb4b87 (patch) | |
tree | 9a7fbec26e64ab5d171872d567876b582a191388 /ui/gtk/capture_if_dlg.c | |
parent | 5abe9d8a898b8c0ccce30f121a3a77056d7d1185 (diff) |
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
Diffstat (limited to 'ui/gtk/capture_if_dlg.c')
-rw-r--r-- | ui/gtk/capture_if_dlg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/gtk/capture_if_dlg.c b/ui/gtk/capture_if_dlg.c index 1faec060fa..ba739de61d 100644 --- a/ui/gtk/capture_if_dlg.c +++ b/ui/gtk/capture_if_dlg.c @@ -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); |