aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/iface_lists.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-07-05 02:01:43 +0000
committerGuy Harris <guy@alum.mit.edu>2012-07-05 02:01:43 +0000
commitb1ab794baa0cca412e80d26d6f6095a222bc31cb (patch)
tree57b54ba0f6bb35f47248fb0f4d6d091163780000 /ui/gtk/iface_lists.c
parenteb38ae49b1a8bae7f8331f2f4f6ef99a0c8875c7 (diff)
From Pontus Fuchs:
Refresh wireless toolbar too The recently improved refresh interfaces code forgot the wireless toolbar. Make sure to refresh it too. svn path=/trunk/; revision=43568
Diffstat (limited to 'ui/gtk/iface_lists.c')
-rw-r--r--ui/gtk/iface_lists.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/gtk/iface_lists.c b/ui/gtk/iface_lists.c
index 11074d9836..3ad8d8b5ab 100644
--- a/ui/gtk/iface_lists.c
+++ b/ui/gtk/iface_lists.c
@@ -42,6 +42,7 @@
#include "ui/gtk/capture_if_dlg.h"
#include "ui/gtk/capture_globals.h"
#include "ui/gtk/main_welcome.h"
+#include "ui/gtk/main_80211_toolbar.h"
#include "ui/gtk/iface_lists.h"
@@ -348,6 +349,9 @@ refresh_local_interface_lists(void)
/* If the welcome screen is up, refresh its interface list. */
if (get_welcome_window() != NULL)
welcome_if_panel_reload();
+
+ /* Refresh the 802.11 toolbar. */
+ tb80211_refresh_interfaces();
}
/*