Mercurial > pidgin
changeset 19032:73172682eefd
- CertMgr window responds properly to delete_event
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Wed, 18 Jul 2007 23:36:51 +0000 |
parents | 8c3fecc32451 |
children | 6b4e874e47c1 |
files | pidgin/gtkcertmgr.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkcertmgr.c Wed Jul 18 23:29:59 2007 +0000 +++ b/pidgin/gtkcertmgr.c Wed Jul 18 23:36:51 2007 +0000 @@ -108,6 +108,9 @@ PIDGIN_HIG_BORDER, /*Window border*/ "certmgr", /* Role */ TRUE); /* Allow resizing */ + g_signal_connect(G_OBJECT(win), "delete_event", + G_CALLBACK(certmgr_close_cb), dlg); + /* TODO: Retrieve the user-set window size and use it */ gtk_window_set_default_size(GTK_WINDOW(win), 400, 400);