mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-14 09:40:20 +00:00
ESC key will destroy the windows mentioned at issue 211.
This change implements generic routine gtkutil_destroy_on_esc () and adds invocations of it in the requisite window-handling places.
This commit is contained in:
@@ -219,6 +219,7 @@ plugingui_open (void)
|
||||
plugin_window = mg_create_generic_tab ("Addons", _(DISPLAY_NAME": Plugins and Scripts"),
|
||||
FALSE, TRUE, plugingui_close, NULL,
|
||||
500, 250, &vbox, 0);
|
||||
gtkutil_destroy_on_esc (plugin_window);
|
||||
|
||||
view = plugingui_treeview_new (vbox);
|
||||
g_object_set_data (G_OBJECT (plugin_window), "view", view);
|
||||
|
||||
Reference in New Issue
Block a user