]> saetta.ns0.it Git - solipa/utenti/commitdiff
Test con libautedb.
authorAndrea Zagli <azagli@libero.it>
Sun, 8 Aug 2010 09:51:59 +0000 (11:51 +0200)
committerAndrea Zagli <azagli@libero.it>
Sun, 8 Aug 2010 09:51:59 +0000 (11:51 +0200)
configure.ac
src/main.c

index 7097bd283530e7f55df3d97fe2d6d910f1909e68..1d863c200c02c3859c1db2bd9732a33b7bf11abd 100644 (file)
@@ -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)
index a07bcf8f61692693f1264ae61e187875a78f6aec..ce2e19f0450c24c3fcb6d09a56431049ea2e26ac 100644 (file)
@@ -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 ();