]> git.0d.be Git - empathy.git/commitdiff
Move accounts assignment after the CMS are ready
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 14 Sep 2009 10:09:25 +0000 (12:09 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 14 Sep 2009 10:09:25 +0000 (12:09 +0200)
src/empathy-import-widget.c

index 34f94e5512e34f44ba718d3f69600f260082399d..2dc810b0adbb381657de8352cadd0a1c7d8cd492 100644 (file)
@@ -262,6 +262,8 @@ import_widget_set_up_account_list (EmpathyImportWidget *self)
   GtkTreeViewColumn *column;
   GtkCellRenderer *cell;
 
+  priv->accounts = empathy_import_accounts_load (priv->app_id);
+
   store = gtk_list_store_new (COL_COUNT, G_TYPE_BOOLEAN, G_TYPE_STRING,
       G_TYPE_STRING, G_TYPE_STRING, G_TYPE_POINTER);
 
@@ -416,8 +418,6 @@ do_constructed (GObject *obj)
   GtkBuilder *gui;
   gchar *filename;
 
-  priv->accounts = empathy_import_accounts_load (priv->app_id);
-
   filename = empathy_file_lookup ("empathy-import-dialog.ui", "src");
   gui = empathy_builder_get_file (filename,
       "widget_vbox", &priv->vbox,