aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/main_80211_toolbar.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-07-05 05:36:50 +0000
committerGuy Harris <guy@alum.mit.edu>2012-07-05 05:36:50 +0000
commit918e00880c56b48dd20f61edb9fadadcc8cd96d7 (patch)
tree635ce8e140e46f4f9d03605daed724345574375e /ui/gtk/main_80211_toolbar.c
parentd94492cc718d3ee2441a2b736c3415db981c3491 (diff)
From Pontus Fuchs:
Remove refresh button from wireless toolbar With a "refresh interfaces" menu option and device hotplug notification in place there is no longer need for a refresh button in the toolbar. svn path=/trunk/; revision=43570
Diffstat (limited to 'ui/gtk/main_80211_toolbar.c')
-rw-r--r--ui/gtk/main_80211_toolbar.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/ui/gtk/main_80211_toolbar.c b/ui/gtk/main_80211_toolbar.c
index 73e063197c..b2bd816133 100644
--- a/ui/gtk/main_80211_toolbar.c
+++ b/ui/gtk/main_80211_toolbar.c
@@ -334,12 +334,6 @@ out_free:
}
static void
-tb80211_update_iface_cb(GtkWidget *widget _U_, gpointer data _U_)
-{
- tb80211_refresh_interfaces();
-}
-
-static void
tb80211_add_label(gchar *text, GtkWidget *tb)
{
GtkWidget *label;
@@ -376,12 +370,6 @@ ws80211_toolbar_new(void)
gtk_widget_show(GTK_WIDGET (tb80211_iface_list_box));
gtk_toolbar_insert(GTK_TOOLBAR(tb80211_tb), ti, -1);
- ti = gtk_tool_button_new_from_stock(GTK_STOCK_REFRESH);
- gtk_widget_set_tooltip_text(GTK_WIDGET(ti), "Refresh interfaces");
- g_signal_connect(ti, "clicked", G_CALLBACK(tb80211_update_iface_cb), NULL);
- gtk_toolbar_insert(GTK_TOOLBAR(tb80211_tb), ti, -1);
- gtk_widget_show(GTK_WIDGET(ti));
-
tb80211_add_label(" Frequency: ", tb80211_tb);
ti = gtk_tool_item_new();