]> git.0d.be Git - empathy.git/commitdiff
Added empathy_import_dialog_accounts_to_import. (Jonny Lamb)
authorJonny Lamb <jonny.lamb@collabora.co.uk>
Fri, 17 Oct 2008 12:47:28 +0000 (12:47 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 17 Oct 2008 12:47:28 +0000 (12:47 +0000)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1624

src/empathy-import-dialog.c
src/empathy-import-dialog.h

index aa791b01480d84f324b4c0f053aef1cec165b054..2387e507ccd48ee10ba845f430d67d92c5115571 100644 (file)
@@ -418,6 +418,21 @@ FILENAME:
   return accounts;
 }
 
   return accounts;
 }
 
+gboolean
+empathy_import_dialog_accounts_to_import (void)
+{
+  GList *list;
+  gboolean out;
+
+  list = import_dialog_pidgin_load ();
+
+  out = (g_list_length (list) > 0);
+
+  g_list_free (list);
+
+  return out;
+}
+
 static gboolean
 import_dialog_tree_model_foreach (GtkTreeModel *model,
                                   GtkTreePath *path,
 static gboolean
 import_dialog_tree_model_foreach (GtkTreeModel *model,
                                   GtkTreePath *path,
index d3ac30a02ea6776884e79f93c9156600560b4677..5b651f8e990c666de0cefb3a206eb2c85400d2f5 100644 (file)
@@ -26,6 +26,7 @@
 
 G_BEGIN_DECLS
 
 
 G_BEGIN_DECLS
 
+gboolean empathy_import_dialog_accounts_to_import (void);
 void empathy_import_dialog_show (GtkWindow *parent);
 
 G_END_DECLS
 void empathy_import_dialog_show (GtkWindow *parent);
 
 G_END_DECLS