diff options
author | Milan Crha <mcrha@redhat.com> | 2014-05-09 19:52:59 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2014-05-09 19:52:59 +0800 |
commit | d164574886e7580d33ba9b6f0b0b68ac1f29ffea (patch) | |
tree | d39f59e3ade8d51153ae662a7e787340e45a8a20 /addressbook | |
parent | c1597795c147c5ed601d5284cd9c9bd792c67516 (diff) | |
download | gsoc2013-evolution-d164574886e7580d33ba9b6f0b0b68ac1f29ffea.tar gsoc2013-evolution-d164574886e7580d33ba9b6f0b0b68ac1f29ffea.tar.gz gsoc2013-evolution-d164574886e7580d33ba9b6f0b0b68ac1f29ffea.tar.bz2 gsoc2013-evolution-d164574886e7580d33ba9b6f0b0b68ac1f29ffea.tar.lz gsoc2013-evolution-d164574886e7580d33ba9b6f0b0b68ac1f29ffea.tar.xz gsoc2013-evolution-d164574886e7580d33ba9b6f0b0b68ac1f29ffea.tar.zst gsoc2013-evolution-d164574886e7580d33ba9b6f0b0b68ac1f29ffea.zip |
EContactEditor: Make sure custom widget types are available
Make sure evolution's widget types are available before loading the .ui file.
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index fada757b95..add2337faa 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -4231,6 +4231,13 @@ e_contact_editor_init (EContactEditor *e_contact_editor) e_contact_editor->priv->categories_dialog = NULL; e_contact_editor->priv->compress_ui = e_shell_get_express_mode (shell); + /* Make sure custom widget types are available */ + g_type_ensure (E_TYPE_IMAGE_CHOOSER); + g_type_ensure (E_TYPE_CLIENT_COMBO_BOX); + g_type_ensure (E_TYPE_CONTACT_EDITOR_DYNTABLE); + g_type_ensure (E_TYPE_URL_ENTRY); + g_type_ensure (E_TYPE_DATE_EDIT); + builder = gtk_builder_new (); e_load_ui_builder_definition (builder, "contact-editor.ui"); |