diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2013-03-24 17:19:15 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2013-03-24 17:19:15 +0000 |
commit | 07b2125538eb78bd069bb5b68a6fa332189ba212 (patch) | |
tree | 578e4cf0798ed37fc83411c9de374390cf9a8647 /ui/gtk/capture_if_dlg.c | |
parent | c4a36c513fdd2009d47a058e4006fd42a6cbd6b4 (diff) |
Set the height to fit the interfaces actually shown.
svn path=/trunk/; revision=48529
Diffstat (limited to 'ui/gtk/capture_if_dlg.c')
-rw-r--r-- | ui/gtk/capture_if_dlg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk/capture_if_dlg.c b/ui/gtk/capture_if_dlg.c index e7d9089064..03d574bc10 100644 --- a/ui/gtk/capture_if_dlg.c +++ b/ui/gtk/capture_if_dlg.c @@ -826,8 +826,8 @@ capture_if_refresh_if_list(void) } gtk_widget_get_preferred_size(GTK_WIDGET(close_bt), &requisition, NULL); - /* height + static offset + what the GTK MS Windows Engine needs in addition per interface */ - height += requisition.height + 40 + ifs; + /* height + static offset + grid spacing */ + height += requisition.height + 40 + (row * 3); gtk_window_set_default_size(GTK_WINDOW(cap_if_w), -1, height); |