summaryrefslogtreecommitdiff
path: root/syncmanager.c
diff options
context:
space:
mode:
Diffstat (limited to 'syncmanager.c')
-rw-r--r--syncmanager.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/syncmanager.c b/syncmanager.c
index 599804eb..f4949644 100644
--- a/syncmanager.c
+++ b/syncmanager.c
@@ -94,6 +94,15 @@ static void sync_dialog_netarea_start_actions(SyncDialog * sd,
#endif /* HAS_LIBSOUP */
+gint sync_manager_count_entries(void)
+{
+#ifdef HAS_LIBSOUP
+ return g_slist_length(entries);
+#else
+ return 0;
+#endif
+}
+
void sync_manager_add_entry(SyncEntry * entry)
{
#ifdef HAS_LIBSOUP
@@ -110,7 +119,7 @@ void sync_manager_show(void)
{
#ifndef HAS_LIBSOUP
g_warning
- ("HardInfo was compiled without libsoup support. (Network Manager requires it.)");
+ ("HardInfo was compiled without libsoup support. (Network Updater requires it.)");
#else /* !HAS_LIBSOUP */
SyncDialog *sd = sync_dialog_new();