aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/flow_graph.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-11-11 22:00:48 +0000
committerGerald Combs <gerald@wireshark.org>2013-11-11 22:00:48 +0000
commit66bb75dd4eacd671b1320ae7b934fff6caa6d272 (patch)
tree749275e4a4b87a2ad53e7924b4f0a09e090f5aca /ui/gtk/flow_graph.c
parenta33c6a8ced2a867dee2bf217bf2ffef4ab56e3ca (diff)
Sequence / flow diagram updates.
Plumb some controls. Adjust dialog layout. Make sure sequence information is allocated and freed correctly. Remove a debugging statement. svn path=/trunk/; revision=53260
Diffstat (limited to 'ui/gtk/flow_graph.c')
-rw-r--r--ui/gtk/flow_graph.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gtk/flow_graph.c b/ui/gtk/flow_graph.c
index b4842f98f2..ae76a0d000 100644
--- a/ui/gtk/flow_graph.c
+++ b/ui/gtk/flow_graph.c
@@ -138,7 +138,7 @@ toggle_select_srcdst(GtkWidget *widget _U_, gpointer user_data _U_)
{
/* is the button now active? */
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(src_dst_rb))) {
- graph_analysis->any_addr = FALSE;
+ graph_analysis->any_addr = TRUE;
}
}
@@ -300,7 +300,7 @@ flow_graph_dlg_create(void)
("Nodes in the diagram are identified with source and destination addresses"));
g_signal_connect(src_dst_rb, "toggled", G_CALLBACK(toggle_select_srcdst), NULL);
ws_gtk_grid_attach(GTK_GRID(node_addr_grid), src_dst_rb, 0, 0, 1, 1);
- if (!graph_analysis->any_addr) {
+ if (graph_analysis->any_addr) {
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(src_dst_rb),TRUE);
}
gtk_widget_show(src_dst_rb);
@@ -312,7 +312,7 @@ flow_graph_dlg_create(void)
("Nodes in the diagram are identified with network source and destination addresses"));
g_signal_connect(net_src_dst_rb, "toggled", G_CALLBACK(toggle_select_netsrcdst), NULL);
ws_gtk_grid_attach(GTK_GRID(node_addr_grid), net_src_dst_rb, 0, 1, 1, 1);
- if (graph_analysis->any_addr) {
+ if (!graph_analysis->any_addr) {
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(net_src_dst_rb),TRUE);
}
gtk_widget_show(net_src_dst_rb);