From f06fd74d25b3a6aac7a5427b9acb545588edd93e Mon Sep 17 00:00:00 2001 From: TingPing Date: Sun, 2 Dec 2012 23:16:07 -0500 Subject: remove close button for consistancy --- src/fe-gtk/plugingui.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/fe-gtk') diff --git a/src/fe-gtk/plugingui.c b/src/fe-gtk/plugingui.c index 45ef761b..eed6ac10 100644 --- a/src/fe-gtk/plugingui.c +++ b/src/fe-gtk/plugingui.c @@ -83,12 +83,6 @@ plugingui_treeview_new (GtkWidget *box) return view; } -static void -plugingui_close_button (GtkWidget * wid, gpointer a) -{ - gtk_widget_destroy (plugin_window); -} - static void plugingui_close (GtkWidget * wid, gpointer a) { @@ -241,11 +235,6 @@ plugingui_open (void) gtkutil_button (hbox, GTK_STOCK_DELETE, NULL, plugingui_unload, NULL, _("_UnLoad")); - if (!prefs.hex_gui_tab_utils) - gtkutil_button (hbox, - GTK_STOCK_CLOSE, NULL, plugingui_close_button, - NULL, _("_Close")); - fe_pluginlist_update (); gtk_widget_show_all (plugin_window); -- cgit 1.4.1