aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/decode_as_dlg.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-09-10 08:36:03 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-09-10 08:36:03 +0000
commiteaf81ff987a55e36a545fe257af609a2ec903932 (patch)
tree017c6b492109ce57938e68d76ed4070ddd24e29b /ui/gtk/decode_as_dlg.c
parent77f4036dd60328dff5bd5ad659ef0e7e90b6c21e (diff)
From Rick Krull:
One can't resize the columns on several "tree views". The one that I ran into was "Decode As: Show". I added "set_resizable" to make it resizable. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7706 svn path=/trunk/; revision=44828
Diffstat (limited to 'ui/gtk/decode_as_dlg.c')
-rw-r--r--ui/gtk/decode_as_dlg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/gtk/decode_as_dlg.c b/ui/gtk/decode_as_dlg.c
index 7db25da2ae..ca9004dcf3 100644
--- a/ui/gtk/decode_as_dlg.c
+++ b/ui/gtk/decode_as_dlg.c
@@ -758,6 +758,7 @@ decode_show_cb (GtkWidget *w _U_, gpointer user_data _U_)
renderer, "text",
column, NULL);
gtk_tree_view_column_set_sizing(tc, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
+ gtk_tree_view_column_set_resizable(tc, TRUE);
gtk_tree_view_append_column(list, tc);
}