1
char *rcsid_gtk2_menubar_c =
2
"$Id: menubar.c,v 1.1 2005/03/02 07:52:04 mwedel Exp $";
4
Crossfire client, a client program for the crossfire program.
6
Copyright (C) 2005 Mark Wedel & Crossfire Development Team
8
This program is free software; you can redistribute it and/or modify
9
it under the terms of the GNU General Public License as published by
10
the Free Software Foundation; either version 2 of the License, or
11
(at your option) any later version.
13
This program is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
GNU General Public License for more details.
18
You should have received a copy of the GNU General Public License
19
along with this program; if not, write to the Free Software
20
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22
The author can be reached via e-mail to crossfire@metalforge.org
25
/* This file is here to cover the core selections from the top
36
#include "callbacks.h"
37
#include "interface.h"
41
/* Few quick notes on the menubar:
42
* 1) Using the stock Quit menu item for some reason causes it to
43
* take several seconds of 100% cpu utilization to show the menu.
44
* So I don't use the stock item.
48
menu_quit_program (GtkMenuItem *menuitem,
55
LOG(LOG_INFO,"gtk::client_exit","Exiting with return value 0.");
61
menu_quit_character (GtkMenuItem *menuitem,
64
extended_command("quit");
70
menu_about (GtkMenuItem *menuitem,