Logo Search packages:      
Sourcecode: gadmin-squid version File versions  Download package

populate_gadmin_squid.c

/* GADMIN-SQUID - An easy to use GTK+ frontend for the Squid proxy server.
 * Copyright (C) 2006 - 2008 Magnus Loef <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 3 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.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 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_gadmin_squid.h"
#include "populate_servers.h"
#include "select_first_server.h"
#include "populate_server_settings.h"
#include "populate_acl_tab.h"
#include "populate_users.h"
#include "select_first_user.h"
#include "populate_user_settings.h"
#include "populate_disc_tab.h"
#include "populate_access_tab.h"
#include "populate_error_tab.h"
#include "populate_cache_tab.h"
#include "populate_conf_tab.h"



void populate_gadmin_squid(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 module tab */
      populate_acl_tab(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 access tab */
      populate_access_tab(widgets);

      /* Populate the error tab */
      populate_error_tab(widgets);

      /* Populate the cache tab */
      populate_cache_tab(widgets);
      
      /* Populate the conf tab */
      populate_conf_tab(widgets);
}

Generated by  Doxygen 1.6.0   Back to index