From c98e450ada01d79c885136228d92020a61a42fb1 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sat, 7 Aug 2010 19:17:55 +0200 Subject: [PATCH] Some adjustments. --- src/aute_db.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/aute_db.c b/src/aute_db.c index c836fc1..7bd62c9 100644 --- a/src/aute_db.c +++ b/src/aute_db.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include #ifdef HAVE_LIBCONFI #include @@ -70,7 +70,7 @@ get_connection_parameters_from_confi (Confi *confi, gchar **cnc_string) } #endif -void +static void get_gdaex (GSList *parameters) { gchar *cnc_string; @@ -232,8 +232,8 @@ autedb_load_users_list () COL_NAME, g_strdup_printf ("%s %s", gdaex_data_model_get_field_value_stringify_at (dm, row, "surname"), gdaex_data_model_get_field_value_stringify_at (dm, row, "name")), - COL_LAST_ACCESS, gdaex_data_model_get_field_value_stringify_at (dm, row, "last_access"), - COL_PASSWORD_EXPIRATION, gdaex_data_model_get_field_value_stringify_at (dm, row, "password_expiration"), + COL_LAST_ACCESS, gtk_form_field_datetime_get_str_from_tm (gdaex_data_model_get_field_value_tm_at (dm, row, "last_access"), "%d/%m/%Y %H.%M.%S"), + COL_PASSWORD_EXPIRATION, gtk_form_field_datetime_get_str_from_tm (gdaex_data_model_get_field_value_tm_at (dm, row, "password_expiration"), "%d/%m/%Y %H.%M.%S"), -1); } } @@ -332,8 +332,13 @@ gchar return ret; } +/** + * get_user_gui_manager: + * @parameters: + * + */ GtkWidget -*manage_user_gui (GSList *parameters) +*get_user_gui_manager (GSList *parameters) { GtkWidget *w; -- 2.49.0