remove close button for consistancy

This commit is contained in:
TingPing 2012-12-02 23:16:07 -05:00
parent e3bdd00ff3
commit f06fd74d25

View File

@ -83,12 +83,6 @@ plugingui_treeview_new (GtkWidget *box)
return view; return view;
} }
static void
plugingui_close_button (GtkWidget * wid, gpointer a)
{
gtk_widget_destroy (plugin_window);
}
static void static void
plugingui_close (GtkWidget * wid, gpointer a) plugingui_close (GtkWidget * wid, gpointer a)
{ {
@ -241,11 +235,6 @@ plugingui_open (void)
gtkutil_button (hbox, GTK_STOCK_DELETE, NULL, gtkutil_button (hbox, GTK_STOCK_DELETE, NULL,
plugingui_unload, NULL, _("_UnLoad")); 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 (); fe_pluginlist_update ();
gtk_widget_show_all (plugin_window); gtk_widget_show_all (plugin_window);