-
[Anjuta]
Maximized=1
-Geometry=1366x745+0+1
-
-[Project Manager]
-Shortcut=libsolipa//libsolipa//src//libsolipa.la%%%libsolipa//libsolipa//src//libsolipaooo.la%%%libsolipa//libsolipa//tests//allegato%%%libsolipa//libsolipa//tests//mail%%%libsolipa//libsolipa//tests//mail_get_addresses_from_string%%%libsolipa//libsolipa//tests//mailui%%%libsolipa//libsolipa//tests//ooo%%%libsolipa//libsolipa//tests//progresswindow%%%libsolipa//libsolipa//tests//utils%%%libsolipa//libsolipa//tests//utils_codfisc_piva%%%libsolipa//libsolipa//tests//utils_format_money%%%libsolipa//libsolipa//tests//utils_gdatetime%%%libsolipa//libsolipa//tests//utils_infobar%%%libsolipa//libsolipa//tests//utils_round
-Expand=libsolipa.la%%%libsolipa%%%libsolipa//libsolipa
-
-[File Loader]
-Files=file:///home/andreaz/files/comune/solipa/libsolipa/src/utils.c#130
+Geometry=1366x715+0+27
[Document Manager]
bookmarks=<?xml version="1.0" encoding="UTF-8"?>\n<bookmarks/>\n
+[Project Manager]
+Expand=libsolipa
+
[Execution]
Run in terminal=2
-Working directories=file:///home/andreaz/files/comune/solipa/libsolipa
+Working directories=../../../../../files/comune/solipa/libsolipa
[Build]
Configuration list=1:Default:%%%1:Debug:Debug%%%1:Profiling:Profiling%%%1:Optimized:Optimized
<?xml version="1.0"?>
-<dock-layout><layout name="__default__"><dock name="__dock_1" floating="no" width="-1" height="-1" floatx="0" floaty="0"><paned orientation="horizontal" locked="no" position="1008"><notebook orientation="vertical" locked="no" page="0"><item name="AnjutaDocumentManager" orientation="vertical" locked="no"/><item name="AnjutaDevhelpDisplay" orientation="vertical" locked="no"/><item name="AnjutaTerminal" orientation="vertical" locked="no"/></notebook><paned orientation="vertical" locked="no" position="336"><notebook orientation="vertical" locked="no" page="0"><item name="AnjutaProjectManager" orientation="vertical" locked="no"/><item name="AnjutaFileManager" orientation="vertical" locked="no"/></notebook><notebook orientation="vertical" locked="no" page="1"><item name="AnjutaDevhelpIndex" orientation="vertical" locked="no"/><item name="AnjutaSymbolDB" orientation="vertical" locked="no"/></notebook></paned></paned></dock></layout></dock-layout>
+<dock-layout><layout name="__default__"><dock name="__dock_1" floating="no" width="-1" height="-1" floatx="0" floaty="0" skip-taskbar="yes"><paned orientation="horizontal" locked="no" iconified="no" closed="no" position="1008"><notebook orientation="vertical" locked="no" iconified="no" closed="no" page="0"><item name="AnjutaDocumentManager" orientation="vertical" locked="no" iconified="no" closed="no"/><item name="AnjutaDevhelpDisplay" orientation="vertical" locked="no" iconified="no" closed="no"/><item name="AnjutaTerminal" orientation="vertical" locked="no" iconified="no" closed="no"/></notebook><paned orientation="vertical" locked="no" iconified="no" closed="no" position="336"><notebook orientation="vertical" locked="no" iconified="no" closed="no" page="0"><item name="AnjutaProjectManager" orientation="vertical" locked="no" iconified="no" closed="no"/><item name="AnjutaFileManager" orientation="vertical" locked="no" iconified="no" closed="no"/></notebook><notebook orientation="vertical" locked="no" iconified="no" closed="no" page="0"><item name="AnjutaDevhelpIndex" orientation="vertical" locked="no" iconified="no" closed="no"/><item name="AnjutaSymbolDB" orientation="vertical" locked="no" iconified="no" closed="yes"/></notebook></paned></paned></dock></layout></dock-layout>
+compile
*~
*.rpath
*.pot
tests/ooo
tests/progresswindow
tests/utils
+tests/utils_apri_collegamento
tests/utils_codfisc_piva
tests/utils_format_money
tests/utils_gdatetime
AC_SUBST(SOLIPA_CFLAGS)
AC_SUBST(SOLIPA_LIBS)
-PKG_CHECK_MODULES(CAMEL, camel-1.2 >= 3.4, [camel34_found=yes], [camel34_found=no])
+PKG_CHECK_MODULES(CAMEL, camel-1.2 >= 3.8, [camel38_found=yes], [camel38_found=no])
camel3_found=no
-if test x$camel34_found = xno; then
+if test x$camel38_found = xno; then
PKG_CHECK_MODULES(CAMEL, camel-provider-1.2 >= 3, [camel3_found=yes], [camel3_found=no])
if test x$camel3_found = xno; then
AC_SUBST(CAMEL_CFLAGS)
AC_SUBST(CAMEL_LIBS)
-AC_SUBST(CAMEL34_FOUND)
-AM_CONDITIONAL(HAVE_CAMEL34, test $camel34_found = yes)
+AC_SUBST(CAMEL38_FOUND)
+AM_CONDITIONAL(HAVE_CAMEL38, test $camel38_found = yes)
AC_SUBST(CAMEL3_FOUND)
AM_CONDITIONAL(HAVE_CAMEL3, test $camel3_found = yes)
$(CAMEL_LIBS) \
$(WIN32_LIBS)
-if HAVE_CAMEL34
-CAMEL3=-DCAMEL3=\"yes\"
+if HAVE_CAMEL38
+CAMEL3=-DCAMEL3=\"yes\" -DCAMEL38=\"yes\"
else
if HAVE_CAMEL3
CAMEL3=-DCAMEL3=\"yes\"
error != NULL && error->message != NULL ? error->message : "no details");
return;
}
+#ifdef CAMEL38
+ trans = camel_session_ref_service_by_url (solipa_get_camel_session (priv->solipa), camel_url, CAMEL_PROVIDER_TRANSPORT);
+#else
trans = camel_session_get_service_by_url (solipa_get_camel_session (priv->solipa), camel_url, CAMEL_PROVIDER_TRANSPORT);
+#endif
#else
trans = camel_session_get_service (solipa_get_camel_session (priv->solipa), url, CAMEL_PROVIDER_TRANSPORT, &error);
#endif
}
error = NULL;
-#ifdef CAMEL3
+#ifdef CAMEL38
+ ret = camel_service_connect_sync (trans, NULL, &error);
+#elif defined CAMEL3
ret = camel_service_connect_sync (trans, &error);
#else
ret = camel_service_connect (trans, &error);
error = NULL;
#ifdef CAMEL3
+ camel_service_disconnect_sync (trans, FALSE, NULL, NULL);
+#elif defined CAMEL3
camel_service_disconnect_sync (trans, FALSE, NULL);
#else
camel_service_disconnect (trans, FALSE, NULL);
priv->gtkbuilder = NULL;
}
+ if (priv->camel_tmpdir)
+ {
+ /* rimuovo la directory temporanea */
+ g_rmdir (priv->camel_tmpdir);
+ }
+
if (priv->camel_session)
{
g_object_unref (priv->camel_session);