/*
* GProFTPD - A GTK+ frontend for the ProFTPD standalone server.
* Copyright (C) 2001 - 2006 Magnus Loef (Magnus-swe) <magnus-swe@telia.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*
*/
#include "../config.h"
#include <gtk/gtk.h>
#include "support.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "allocate.h"
#include "widgets.h"
#include "populate_gproftpd.h"
#include "populate_servers.h"
#include "select_first_server.h"
#include "populate_server_settings.h"
#include "populate_users.h"
#include "select_first_user.h"
#include "populate_user_settings.h"
#include "populate_disc_tab.h"
#include "populate_file_tab.h"
#include "populate_security_tab.h"
#include "populate_conf_tab.h"
void populate_gproftpd(struct w *widgets)
{
/* Populate the servers treeview */
populate_servers(widgets);
/* Set the first server as selected */
select_first_server(widgets);
/* Populate the server settings */
populate_server_settings(widgets);
/* Populate the user tab */
populate_users(widgets);
/* Set the first user as selected */
select_first_user(widgets);
/* Populate the user settings */
populate_user_settings(widgets);
/* Populate the disc tab */
populate_discs(widgets);
/* Populate the file tab */
/* This can take a long time so we let the user do this manually populate_files(widgets); */
/* Populate the security tab */
populate_security(widgets);
/* Populate the conf tab */
populate_conf_tab(widgets);
}
syntax highlighted by Code2HTML, v. 0.9.1