/*
 * grn_commands.h
 *
 * $Id: grn_menu.h,v 1.17 2000/06/28 11:28:28 sc Exp $
 */
/* Copyright (C) 1999-2000  Sergey Chernikov (sc@ivvs.ul.ru)
 *
 * Authors: Sergey Chernikov <sc@ivvs.ul.ru>
 *
 * 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
 */

#ifndef __GRN_MENU_H__
#define __GRN_MENU_H__

#include <gnome.h>

extern GnomeUIInfo main_menu[];
extern GnomeUIInfo main_toolbar[];
extern GnomeUIInfo mw_context_menu[];
extern GnomeUIInfo msgpost_menu[];
extern GnomeUIInfo msgpost_toolbar[];
extern GnomeUIInfo msgsend_menu[];
extern GnomeUIInfo msgsend_toolbar[];

void grn_menus_init(void);
void build_scripts_menu(void);
void menu_delete_scripts(void);
void build_macros_menu(GtkWidget *, gint);

void grn_menuitem_check(GtkWidget *, gchar *, gboolean);
void show_newsgroups_menu(gboolean);
void show_threadlist_menu(gboolean);
void enable_threadlist_menu(gboolean);
void show_message_menu(gboolean);
void enable_findagain_menu(gboolean);

void grn_menu_set_data(GtkWidget *menu, gchar *base, gchar *path,
                       const gchar *key, gpointer data);


#endif /* __GRN_MENU_H__ */


syntax highlighted by Code2HTML, v. 0.9.1