diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-02-23 05:35:47 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-02-23 05:35:47 +0000 |
commit | ab788d26886a3f1b24729e3db1e83f937560e1ba (patch) | |
tree | d1713dd2a167ed5681c62475c2dd66153a9defbc /gtk/hostlist_table.c | |
parent | 59b11937631903807a1c00cfb052c27124a954c8 (diff) |
Make the tap names for host statistics use "hosts" instead of "conv",
and make the tap names for endpoint statistics use "endpoints" instead
of "conv".
Similarly, make the titles for their windows say "Hosts" or "Endpoints"
rather than "Conversations".
svn path=/trunk/; revision=10195
Diffstat (limited to 'gtk/hostlist_table.c')
-rw-r--r-- | gtk/hostlist_table.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gtk/hostlist_table.c b/gtk/hostlist_table.c index ebe1406118..b1fd7791fa 100644 --- a/gtk/hostlist_table.c +++ b/gtk/hostlist_table.c @@ -2,7 +2,7 @@ * modified from endpoint_talkers_table.c 2003 Ronnie Sahlberg * Helper routines common to all host list taps. * - * $Id: hostlist_table.c,v 1.2 2004/02/20 09:27:24 guy Exp $ + * $Id: hostlist_table.c,v 1.3 2004/02/23 05:35:46 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -144,7 +144,7 @@ reset_hostlist_table_data(hostlist_table *hosts) guint32 i; char title[256]; - snprintf(title, 255, "%s Hosts: %s", hosts->name, cf_get_display_name(&cfile)); + snprintf(title, 255, "%s: %s", hosts->name, cf_get_display_name(&cfile)); gtk_window_set_title(GTK_WINDOW(hosts->win), title); /* remove all entries from the clist */ @@ -478,7 +478,7 @@ init_hostlist_table(gboolean hide_ports, char *table_name, char *tap_name, char hosttable->name=table_name; hosttable->win=gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_default_size(GTK_WINDOW(hosttable->win), 750, 400); - snprintf(title, 255, "%s Conversations: %s", table_name, cf_get_display_name(&cfile)); + snprintf(title, 255, "%s: %s", table_name, cf_get_display_name(&cfile)); gtk_window_set_title(GTK_WINDOW(hosttable->win), title); SIGNAL_CONNECT(hosttable->win, "destroy", hostlist_win_destroy_cb, hosttable); @@ -488,8 +488,7 @@ init_hostlist_table(gboolean hide_ports, char *table_name, char *tap_name, char gtk_container_set_border_width(GTK_CONTAINER(vbox), 10); gtk_widget_show(vbox); - snprintf(title, 255, "%s Conversations", table_name); - label=gtk_label_new(title); + label=gtk_label_new(table_name); gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0); gtk_widget_show(label); |