Hi josh,<br><br>Thanks for your advice.<br><br>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):<br>
<br style="background-color: rgb(255, 255, 255);"><i style="background-color: rgb(255, 255, 255);">#ifdef USE_CST<br> ...<br> if (result != CST_STATE_VALID)<br>#endif<br> g_signal_emit(G_OBJECT(self), g_mozilla_web_signals[CERTIFICATE_DIALOG], 0, context, &ret_val);</i><br>
<br>I have traced here when access "<a href="https://www.gmail.com">https://www.gmail.com</a>" and I found that "result != CST_STATE_VALID" is FALSE, so this signal won't be emitted here ...<br><br>
No other places I found emitting this signal, is this the exact place?<br><br>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.<br>
<br>Best Regards,<br><br>enrico<br><br><br><br><div class="gmail_quote">2008/5/16 <<a href="mailto:josh.soref@nokia.com">josh.soref@nokia.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Zhihai Wang wrote:<br>
> When accessing some websites like "<a href="https://www.gmail.com" target="_blank">https://www.gmail.com</a>", a<br>
> certificate dialog will show to the user.<br>
><br>
> I guess that the one of the following signals should be emited:<br>
> G_WEB_SIGNAL_CERTIFICATE_DIALOG (defined in gweb.h)<br>
> G_WEB_SIGNAL_CERTIFICATE_PASSWORD_DIALOG (defined in gweb.h)<br>
> G_WEBWIDGET_SIGNAL_MODAL_CERTIFICATE_DIALOG (defined in gwebwidget.h)<br>
><br>
> I searched over the source code, but I failed to find where<br>
> this signal be emited.<br>
<br>
</div>You didn't search very hard. But instead of trying to search hard over<br>
the source code, please learn to use the cross reference.<br>
<a href="http://timeless.justdave.net/mxr-test/garage/search?string=certificate-dialog&find=browser%2F" target="_blank">http://timeless.justdave.net/mxr-test/garage/search?string=certificate-d<br>
ialog&find=browser%2F</a><br>
<br>
If you want to skip the documentation, you can use a smarter search:<br>
<a href="http://timeless.justdave.net/mxr-test/garage/search?string=certificate-dialog&find=browser%2F.*%5C.c" target="_blank">http://timeless.justdave.net/mxr-test/garage/search?string=certificate-d<br>
ialog&find=browser%2F.*\.c</a><br>
<div class="Ih2E3d"><br>
> It must have been emited since my N800 show me a certificate<br>
> dialog ...<br>
</div>_______________________________________________<br>
maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
</blockquote></div><br>