From 14d28129f39c1049c981b3207a1ebb9b21719120 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sun, 8 Aug 2010 11:51:59 +0200 Subject: [PATCH] Test con libautedb. --- configure.ac | 2 +- src/main.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) 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 (); -- 2.49.0