diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2008-10-17 20:47:28 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-10-17 20:47:28 +0800 |
commit | 9ee012a56ba76d0171bc6ae5d9cc86a8bfbf5f35 (patch) | |
tree | e51fea227cac82079b07000560838a9907da6ed5 | |
parent | 5a9c84a4fad2df9e4aee9f0dc6bd1b411560ba04 (diff) | |
download | gsoc2013-empathy-9ee012a56ba76d0171bc6ae5d9cc86a8bfbf5f35.tar gsoc2013-empathy-9ee012a56ba76d0171bc6ae5d9cc86a8bfbf5f35.tar.gz gsoc2013-empathy-9ee012a56ba76d0171bc6ae5d9cc86a8bfbf5f35.tar.bz2 gsoc2013-empathy-9ee012a56ba76d0171bc6ae5d9cc86a8bfbf5f35.tar.lz gsoc2013-empathy-9ee012a56ba76d0171bc6ae5d9cc86a8bfbf5f35.tar.xz gsoc2013-empathy-9ee012a56ba76d0171bc6ae5d9cc86a8bfbf5f35.tar.zst gsoc2013-empathy-9ee012a56ba76d0171bc6ae5d9cc86a8bfbf5f35.zip |
Added empathy_import_dialog_accounts_to_import. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1624
-rw-r--r-- | src/empathy-import-dialog.c | 15 | ||||
-rw-r--r-- | src/empathy-import-dialog.h | 1 |
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 |