/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */ /* * anjuta.c * Copyright (C) 2003 Naba Kumar * * 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 "action-callbacks.h" static GtkActionEntry menu_entries_file[] = { { "ActionMenuFile", NULL, N_("_File")}, { "ActionExit", GTK_STOCK_QUIT, N_("_Quit"), "q", N_("Quit Anjuta IDE"), G_CALLBACK (on_exit1_activate)} }; static GtkActionEntry menu_entries_edit[] = { { "ActionMenuEdit", NULL, N_("_Edit")} }; static GtkActionEntry menu_entries_view[] = { { "ActionMenuView", NULL, N_("_View")}, { "ActionViewResetLayout", NULL, N_("_Reset Dock Layout"), NULL, N_("Reset the widgets docking layout to default"), G_CALLBACK (on_reset_layout_activate)}, { "ActionViewToolbars", NULL, N_("_Toolbars")} }; static GtkToggleActionEntry menu_entries_toggle_view[] = { { "ActionViewFullscreen", NULL, N_("_Full Screen"), NULL, N_("Toggle fullscreen mode"), G_CALLBACK (on_fullscreen_toggle)}, { "ActionViewLockLayout", NULL, N_("_Lock Dock Layout"), NULL, N_("Lock the current dock layout so that widgets cannot be moved"), G_CALLBACK (on_layout_lock_toggle)} }; static GtkActionEntry menu_entries_settings[] = { { "ActionMenuSettings", NULL, N_("_Settings")}, { "ActionSettingsPreferences", GTK_STOCK_PROPERTIES, N_("_Preferences"), NULL, N_("Do you prefer coffee to tea? Check it out."), G_CALLBACK (on_set_preferences1_activate)}, { "ActionSettingsDefaults", GTK_STOCK_PROPERTIES, N_("Set _Default Preferences"), NULL, N_("But I prefer tea."), G_CALLBACK (on_set_default_preferences1_activate)}, { "ActionSettingsShortcuts", NULL, N_("C_ustomize Shortcuts"), NULL, N_("Customize shortcuts associated with menu items"), G_CALLBACK (on_customize_shortcuts_activate)}, { "ActionSettingsPlugins", NULL, N_("Plugins"), NULL, N_("Manipulate plugins"), G_CALLBACK (on_show_plugins_activate)} }; static GtkActionEntry menu_entries_help[] = { { "ActionMenuHelp", NULL, N_("_Help")}, { "ActionHelpUserManual", GTK_STOCK_HELP, N_("_User's Manual"), "F1", N_("Anjuta user's manual"), G_CALLBACK (on_help_manual_activate)}, { "ActionHelpTutorial", NULL, N_("Kick start _tutorial"), NULL, N_("Anjuta Kick start tutorial"), G_CALLBACK (on_help_tutorial_activate)}, { "ActionHelpAdvancedTutorial", NULL, N_("_Advanced tutorial"), NULL, N_("Anjuta advanced tutorial"), G_CALLBACK (on_help_advanced_tutorial_activate)}, { "ActionHelpFaqManual", NULL, N_("_Frequently Asked Questions"), NULL, N_("Anjuta frequently asked questions"), G_CALLBACK (on_help_faqs_activate)}, { "ActionHelpAnjutaHome", GTK_STOCK_HOME, N_("Anjuta _Home Page"), NULL, N_("Online documentation and resources"), G_CALLBACK (on_url_home_activate)}, { "ActionHelpBugReport", NULL, N_("Report _Bugs/Patches/Requests"), NULL, N_("Submit a bug report, patch or feature request for Anjuta"), G_CALLBACK (on_url_bugs_activate)}, { "ActionHelpFaq", NULL, N_("Ask a _Question"), NULL, N_("Submit a question for FAQs"), G_CALLBACK (on_url_faqs_activate)}, { "ActionAboutAnjuta", GNOME_STOCK_ABOUT, N_("_About"), NULL, N_("About Anjuta"), G_CALLBACK (on_about_activate)}, { "ActionAboutPlugins", GNOME_STOCK_ABOUT, N_("About External _Plugins"), NULL, N_("About third party Anjuta plugins"), NULL} };