GNOME Bugzilla – Bug 690036
shell: Make all control-center plugins static
Last modified: 2012-12-11 16:13:50 UTC
.
Created attachment 231248 [details] [review] shell: Make all control-center plugins static This makes loading faster, with less I/O, avoids unnecessary code duplication (around 1k lines shaved), and ensures that all the panels link and work appropriately. By the same token, it will stop external panels from being created, and loaded. TODO: - Find why the user accounts and region panels don't link - Check for NM version better (missing nm_device_bond_get_slaves ()) - Add #ifdef around optional panels in gnome-control-center.c (requires configure changes)
Created attachment 231249 [details] [review] shell: Make all control-center plugins static This makes loading faster, with less I/O, avoids unnecessary code duplication (around 1k lines shaved), and ensures that all the panels link and work appropriately. By the same token, it will stop external panels from being created, and loaded. TODO: - Find why the user accounts and region panels don't link
Created attachment 231251 [details] [review] shell: Make all control-center plugins static This makes loading faster, with less I/O, avoids unnecessary code duplication (around 1k lines shaved), and ensures that all the panels link and work appropriately. By the same token, it will stop external panels from being created, and loaded.
Created attachment 231263 [details] [review] export required symbols of CcEditableEntry Hi, the reason for the crash in Printers panel is that GtkBuildable couldn't find required symbols for CcEditableEntry so it couldn't create ui for Printers panel and therefore the init of Printers panel returned without proper initialization. Attached patch fixes the problem for me. Regards Marek
Thanks for the patch Marek, the line was incorrectly removed from the Makefile.am by me... Attachment 231251 [details] pushed as 3686cf7 - shell: Make all control-center plugins static