aboutsummaryrefslogtreecommitdiffstats
path: root/smime/gui/certificate-manager.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2013-02-09 01:26:15 +0800
committerMilan Crha <mcrha@redhat.com>2013-02-09 01:26:49 +0800
commit9c6a7673b80268d96eb007b3273b26d5422f48a1 (patch)
tree4b08cba38bd19383791ec99766d3f6c7e1c9e8cf /smime/gui/certificate-manager.c
parenteb9e9279262050117e75547bc5ce200ac92c24fb (diff)
downloadgsoc2013-evolution-9c6a7673b80268d96eb007b3273b26d5422f48a1.tar.gz
gsoc2013-evolution-9c6a7673b80268d96eb007b3273b26d5422f48a1.tar.zst
gsoc2013-evolution-9c6a7673b80268d96eb007b3273b26d5422f48a1.zip
Add comments around g_idle_add() changes
Diffstat (limited to 'smime/gui/certificate-manager.c')
-rw-r--r--smime/gui/certificate-manager.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/smime/gui/certificate-manager.c b/smime/gui/certificate-manager.c
index a34e7ec04f..38645d2cdf 100644
--- a/smime/gui/certificate-manager.c
+++ b/smime/gui/certificate-manager.c
@@ -1084,7 +1084,9 @@ e_cert_manager_config_init (ECertManagerConfig *ecmc)
/* Run this in an idle callback so Evolution has a chance to
* fully initialize itself and start its main loop before we
* load certificates, since doing so may trigger a password
- * dialog, and dialogs require a main loop. */
+ * dialog, and dialogs require a main loop.
+ * Schedule with priority higher than gtk+ uses for animations
+ * (check docs for G_PRIORITY_HIGH_IDLE). */
g_idle_add_full (G_PRIORITY_DEFAULT, (GSourceFunc) populate_ui, ecmc, NULL);
/* Disconnect cert-manager-notebook from it's window and attach it