summaryrefslogtreecommitdiff
path: root/ui/gtk/dlg_utils.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-03-21 23:00:21 +0000
committerGerald Combs <gerald@wireshark.org>2013-03-21 23:00:21 +0000
commit86b9b1607500388982037159eb7db3adff9a2607 (patch)
tree7aab8046c4054aff992e428a447cb4ae1c8c2142 /ui/gtk/dlg_utils.c
parenta4fe30275f94c8cf9617c6d92278828067d9c7c2 (diff)
downloadwireshark-86b9b1607500388982037159eb7db3adff9a2607.tar.gz
Windows lets you use long interface names, e.g. "Local Area Connection 3
was walking through the woods one day taking a basket full of emergency zombie apocalypse supplies to her grandmother. It was raining." This can make the interface list dialog really wide, so elide the interface text. Elide the description as well. Try to make the interface list resize sanely. This doesn't appear to work for Gtk2. svn path=/trunk/; revision=48467
Diffstat (limited to 'ui/gtk/dlg_utils.c')
-rw-r--r--ui/gtk/dlg_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/dlg_utils.c b/ui/gtk/dlg_utils.c
index e955a3f2bd..bce3c9e992 100644
--- a/ui/gtk/dlg_utils.c
+++ b/ui/gtk/dlg_utils.c
@@ -223,7 +223,7 @@ dlg_button_row_new(const gchar *stock_id_first, ...)
}
va_end(stock_id_list);
- hbox = ws_gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0, FALSE);
+ hbox = ws_gtk_box_new(GTK_ORIENTATION_HORIZONTAL, DLG_BUTTON_SPACING, FALSE);
gtk_widget_show(hbox);
button_hbox = gtk_button_box_new(GTK_ORIENTATION_HORIZONTAL);