Bind esc to close in chanlist
This commit is contained in:
parent
5224c275e8
commit
ab6bf4234c
@ -747,6 +747,7 @@ chanlist_opengui (server *serv, int do_refresh)
|
|||||||
serv->gui->chanlist_window =
|
serv->gui->chanlist_window =
|
||||||
mg_create_generic_tab ("ChanList", tbuf, FALSE, TRUE, chanlist_closegui,
|
mg_create_generic_tab ("ChanList", tbuf, FALSE, TRUE, chanlist_closegui,
|
||||||
serv, 640, 480, &vbox, serv);
|
serv, 640, 480, &vbox, serv);
|
||||||
|
gtkutil_destroy_on_esc (serv->gui->chanlist_window);
|
||||||
|
|
||||||
gtk_container_set_border_width (GTK_CONTAINER (vbox), 6);
|
gtk_container_set_border_width (GTK_CONTAINER (vbox), 6);
|
||||||
gtk_box_set_spacing (GTK_BOX (vbox), 12);
|
gtk_box_set_spacing (GTK_BOX (vbox), 12);
|
||||||
|
Loading…
Reference in New Issue
Block a user