Bind esc to close in chanlist

This commit is contained in:
TingPing 2013-08-05 07:06:04 -04:00
parent 5224c275e8
commit ab6bf4234c

View File

@ -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);