aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/empathy-import-dialog.c15
-rw-r--r--src/empathy-import-dialog.h1
2 files changed, 16 insertions, 0 deletions
diff --git a/src/empathy-import-dialog.c b/src/empathy-import-dialog.c
index aa791b014..2387e507c 100644
--- a/src/empathy-import-dialog.c
+++ b/src/empathy-import-dialog.c
@@ -418,6 +418,21 @@ FILENAME:
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,
diff --git a/src/empathy-import-dialog.h b/src/empathy-import-dialog.h
index d3ac30a02..5b651f8e9 100644
--- a/src/empathy-import-dialog.h
+++ b/src/empathy-import-dialog.h
@@ -26,6 +26,7 @@
G_BEGIN_DECLS
+gboolean empathy_import_dialog_accounts_to_import (void);
void empathy_import_dialog_show (GtkWindow *parent);
G_END_DECLS