Hi josh,<br><br>Thanks for your advice.<br><br>Maybe I didn&#39;t express myself clearly. Those signals are declared but never emitted. The only one place &quot;certificate-dialog&quot; 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>&nbsp;&nbsp;&nbsp; ...<br>&nbsp;&nbsp;&nbsp; if (result != CST_STATE_VALID)<br>#endif<br>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; g_signal_emit(G_OBJECT(self), g_mozilla_web_signals[CERTIFICATE_DIALOG], 0, context, &amp;ret_val);</i><br>
<br>I have traced here when access &quot;<a href="https://www.gmail.com">https://www.gmail.com</a>&quot; and I found that &quot;result != CST_STATE_VALID&quot; is FALSE, so this signal won&#39;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 &quot;https://&quot; URL but they didn&#39;t popup.<br>
<br>Best Regards,<br><br>enrico<br><br><br><br><div class="gmail_quote">2008/5/16  &lt;<a href="mailto:josh.soref@nokia.com">josh.soref@nokia.com</a>&gt;:<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>
&gt; When accessing some websites like &quot;<a href="https://www.gmail.com" target="_blank">https://www.gmail.com</a>&quot;, a<br>
&gt; certificate dialog will show to the user.<br>
&gt;<br>
&gt; I guess that the one of the following signals should be emited:<br>
&gt; G_WEB_SIGNAL_CERTIFICATE_DIALOG (defined in gweb.h)<br>
&gt; G_WEB_SIGNAL_CERTIFICATE_PASSWORD_DIALOG (defined in gweb.h)<br>
&gt; G_WEBWIDGET_SIGNAL_MODAL_CERTIFICATE_DIALOG (defined in gwebwidget.h)<br>
&gt;<br>
&gt; I searched over the source code, but I failed to find where<br>
&gt; this signal be emited.<br>
<br>
</div>You didn&#39;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&amp;find=browser%2F" target="_blank">http://timeless.justdave.net/mxr-test/garage/search?string=certificate-d<br>
ialog&amp;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&amp;find=browser%2F.*%5C.c" target="_blank">http://timeless.justdave.net/mxr-test/garage/search?string=certificate-d<br>
ialog&amp;find=browser%2F.*\.c</a><br>
<div class="Ih2E3d"><br>
&gt; It must have been emited since my N800 show me a certificate<br>
&gt; 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>