/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* callbacks.h: this file is part of users-admin, a ximian-setup-tool frontend * for user administration. * * Copyright (C) 2000-2001 Ximian, Inc. * * 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. * * Authors: Carlos Garnacho Parro , * Tambet Ingo and * Arturo Espinosa . */ #ifndef __CALLBACKS_H #define __CALLBACKS_H #include "gst.h" /* Main dialog general callbacks */ void on_lock_changed (GstDialog*); void on_table_selection_changed (GtkTreeSelection*, gpointer); gboolean on_table_button_press (GtkTreeView *treeview, GdkEventButton *event, gpointer gdata); gboolean on_table_popup_menu (GtkTreeView*, GtkWidget*); void on_popup_add_activate (GtkAction*, gpointer); void on_popup_settings_activate (GtkAction*, gpointer); void on_popup_delete_activate (GtkAction*, gpointer); /* Users window callbacks */ void on_user_new_clicked (GtkButton *button, gpointer user_data); void on_user_settings_clicked (GtkButton *button, gpointer data); void on_user_delete_clicked (GtkButton *button, gpointer user_data); void on_manage_groups_clicked (GtkWidget *widget, gpointer user_data); /* Main dialog callbacks, groups tab */ void on_group_new_clicked (GtkButton*, gpointer); void on_group_settings_clicked (GtkButton*, gpointer); void on_group_delete_clicked (GtkButton*, gpointer); void on_groups_dialog_show_help (GtkWidget *widget, gpointer data); /* user settings dialog callbacks */ void on_user_settings_passwd_changed (GtkEntry*, gpointer); void on_user_settings_passwd_random_new (GtkButton*, gpointer); void on_user_settings_passwd_toggled (GtkToggleButton*, gpointer); void on_user_settings_login_changed (GtkEditable *editable, gpointer data); void on_user_settings_profile_changed (GtkWidget *widget, gpointer data); #endif /* CALLBACKS_H */