[maemo-developers] certificate dialog in microb
From: Zhihai Wang pageguest at gmail.comDate: Fri May 16 10:38:53 EEST 2008
- Previous message: certificate dialog in microb
- Next message: auto-start application
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi josh, Thanks for your advice. Maybe I didn't express myself clearly. Those signals are declared but never emitted. The only one place "certificate-dialog" emited is in gmozillaweb.c (function gtk_moz_common_certificate_error_cb): *#ifdef USE_CST ... if (result != CST_STATE_VALID) #endif g_signal_emit(G_OBJECT(self), g_mozilla_web_signals[CERTIFICATE_DIALOG], 0, context, &ret_val);* I have traced here when access "https://www.gmail.com" and I found that "result != CST_STATE_VALID" is FALSE, so this signal won't be emitted here ... No other places I found emitting this signal, is this the exact place? By the way, would you please give me another URL which will popup a certificate dialog? I have tried some other "https://" URL but they didn't popup. Best Regards, enrico 2008/5/16 <josh.soref at nokia.com>: > Zhihai Wang wrote: > > When accessing some websites like "https://www.gmail.com", a > > certificate dialog will show to the user. > > > > I guess that the one of the following signals should be emited: > > G_WEB_SIGNAL_CERTIFICATE_DIALOG (defined in gweb.h) > > G_WEB_SIGNAL_CERTIFICATE_PASSWORD_DIALOG (defined in gweb.h) > > G_WEBWIDGET_SIGNAL_MODAL_CERTIFICATE_DIALOG (defined in gwebwidget.h) > > > > I searched over the source code, but I failed to find where > > this signal be emited. > > You didn't search very hard. But instead of trying to search hard over > the source code, please learn to use the cross reference. > http://timeless.justdave.net/mxr-test/garage/search?string=certificate-d > ialog&find=browser%2F<http://timeless.justdave.net/mxr-test/garage/search?string=certificate-dialog&find=browser%2F> > > If you want to skip the documentation, you can use a smarter search: > http://timeless.justdave.net/mxr-test/garage/search?string=certificate-d > ialog&find=browser%2F.*\.c<http://timeless.justdave.net/mxr-test/garage/search?string=certificate-dialog&find=browser%2F.*%5C.c> > > > It must have been emited since my N800 show me a certificate > > dialog ... > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20080516/c29cdd87/attachment.htm
- Previous message: certificate dialog in microb
- Next message: auto-start application
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]