project-manager: Fix new project manager combo box when the glade plugin is loaded
commit852868ed1d79e4939540aa5b330eca4b89cbe13e
authorSébastien Granjoux <seb.sfo@free.fr>
Thu, 2 Feb 2012 21:00:33 +0000 (2 22:00 +0100)
committerSébastien Granjoux <seb.sfo@free.fr>
Thu, 2 Feb 2012 21:00:33 +0000 (2 22:00 +0100)
treea46fd6ca6c38867467f0af1ffaa925f3c6137ef1
parentf518ff8a8c92017c50c252f8528a1a42adf2921c
project-manager: Fix new project manager combo box when the glade plugin is loaded

The new AnjutaPmChooserButton widget is defined in the project manager plugin not in libanjuta.
Anjuta glade library doesn't include this widget and glade creates a dummy widget for it (using parent attribute).
But when the glade plugin is loaded in Anjuta, if it creates this dummy widget, the project manager cannot create the real widget later.
So the project manager plugin must be loaded and create the new widget type before the glade plugin.
plugins/glade/anjuta-glade.plugin.in
plugins/project-manager/plugin.c
plugins/project-manager/project-chooser.c
plugins/project-manager/project-chooser.h