empathy r1624 - trunk/src



Author: xclaesse
Date: Fri Oct 17 12:47:28 2008
New Revision: 1624
URL: http://svn.gnome.org/viewvc/empathy?rev=1624&view=rev

Log:
Added empathy_import_dialog_accounts_to_import. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>

Modified:
   trunk/src/empathy-import-dialog.c
   trunk/src/empathy-import-dialog.h

Modified: trunk/src/empathy-import-dialog.c
==============================================================================
--- trunk/src/empathy-import-dialog.c	(original)
+++ trunk/src/empathy-import-dialog.c	Fri Oct 17 12:47:28 2008
@@ -418,6 +418,21 @@
   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,

Modified: trunk/src/empathy-import-dialog.h
==============================================================================
--- trunk/src/empathy-import-dialog.h	(original)
+++ trunk/src/empathy-import-dialog.h	Fri Oct 17 12:47:28 2008
@@ -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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]