gobjectification: ffba639d: Ah, so now I know why UI init got moved....
qulogic at pidgin.im
qulogic at pidgin.im
Fri Jul 9 01:13:29 EDT 2010
----------------------------------------------------------------------
Revision: ffba639d49538b078a3b5cf93ca94d6517fe40f9
Parent: 893f5dfc3a732517c4b3973cfd712370edf53b6f
Author: qulogic at pidgin.im
Date: 07/09/10 00:40:43
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/ffba639d49538b078a3b5cf93ca94d6517fe40f9
Changelog:
Ah, so now I know why UI init got moved. Except there's not much stuff
ready for it there. It's easier just to force setting the blist ui ops
early instead.
We can tweak the order once everything is properly GObject-ified.
Changes against parent 893f5dfc3a732517c4b3973cfd712370edf53b6f
patched pidgin/gtkmain.c
-------------- next part --------------
============================================================
--- pidgin/gtkmain.c 8a6b3ed028df14f69165762d687da7b92b901a98
+++ pidgin/gtkmain.c bed2ebcf6ea80e26bfee1b6c55e5b3bc9add2c57
@@ -327,7 +327,10 @@ pidgin_ui_init(void)
/* Set the UI operation structures. */
purple_accounts_set_ui_ops(pidgin_accounts_get_ui_ops());
purple_xfers_set_ui_ops(pidgin_xfers_get_ui_ops());
+#if 0
+ /* Moved to main() */
purple_blist_set_ui_ops(pidgin_blist_get_ui_ops());
+#endif
purple_notify_set_ui_ops(pidgin_notify_get_ui_ops());
purple_privacy_set_ui_ops(pidgin_privacy_get_ui_ops());
purple_request_set_ui_ops(pidgin_request_get_ui_ops());
@@ -854,6 +857,7 @@ int main(int argc, char *argv[])
purple_core_set_ui_ops(pidgin_core_get_ui_ops());
purple_eventloop_set_ui_ops(pidgin_eventloop_get_ui_ops());
+ purple_blist_set_ui_ops(pidgin_blist_get_ui_ops());
/*
* Set plugin search directories. Give priority to the plugins
More information about the Commits
mailing list