From: Andrea Zagli Date: Sun, 8 Aug 2010 09:51:59 +0000 (+0200) Subject: Test con libautedb. X-Git-Tag: v0.0.1~1 X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=14d28129f39c1049c981b3207a1ebb9b21719120;p=solipa%2Futenti Test con libautedb. --- diff --git a/configure.ac b/configure.ac index 7097bd2..1d863c2 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,7 @@ AC_PROG_CXX # Checks for libraries. PKG_CHECK_MODULES(UTENTI, [gtk+-2.0 >= 2.20.0 - libaute >= 0.0.2]) + libaute >= 0.1.0]) AC_SUBST(UTENTI_CFLAGS) AC_SUBST(UTENTI_LIBS) diff --git a/src/main.c b/src/main.c index a07bcf8..ce2e19f 100644 --- a/src/main.c +++ b/src/main.c @@ -176,6 +176,16 @@ main (int argc, char **argv) vbx_body_child = NULL; + GtkWidget *wgui = aute_get_management_gui (aute); + if (wgui != NULL) + { + utenti_set_vbx_body_child (wgui); + } + else + { + g_warning ("Impossibile avere il widget per la gestione utenti da parte del backend selezionato."); + } + gtk_widget_show (w); gtk_main ();