mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-10 13:12:34 +01:00
remove close button for consistancy
This commit is contained in:
parent
e3bdd00ff3
commit
f06fd74d25
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user