2007-11-04 Johannes Schmid <jhs@gnome.org>
[anjuta-git-plugin.git] / src / anjuta-actions.h
blobcbb866eb0cdf8893fa56c8b6188f89e1a1d8152e
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * anjuta.c
4 * Copyright (C) 2003 Naba Kumar <naba@gnome.org>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)
9 * any later version.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 #include "action-callbacks.h"
22 static GtkActionEntry menu_entries_file[] = {
23 { "ActionMenuFile", NULL, N_("_File")},
24 { "ActionExit", GTK_STOCK_QUIT, N_("_Quit"), "<control>q",
25 N_("Quit Anjuta IDE"),
26 G_CALLBACK (on_exit1_activate)}
29 static GtkActionEntry menu_entries_edit[] = {
30 { "ActionMenuEdit", NULL, N_("_Edit")},
31 { "ActionEditPreferences", GTK_STOCK_PROPERTIES,
32 N_("_Preferences"), NULL,
33 N_("Do you prefer coffee to tea? Check it out."),
34 G_CALLBACK (on_set_preferences1_activate)},
37 static GtkActionEntry menu_entries_view[] = {
38 { "ActionMenuView", NULL, N_("_View")},
39 { "ActionViewResetLayout", NULL,
40 N_("_Reset Dock Layout"), NULL,
41 N_("Reset the widgets docking layout to default"),
42 G_CALLBACK (on_reset_layout_activate)},
43 { "ActionViewToolbars", NULL, N_("_Toolbars")}
46 static GtkToggleActionEntry menu_entries_toggle_view[] = {
47 { "ActionViewFullscreen", GTK_STOCK_FULLSCREEN,
48 N_("_Full Screen"), NULL,
49 N_("Toggle fullscreen mode"),
50 G_CALLBACK (on_fullscreen_toggle)},
51 { "ActionViewLockLayout", NULL,
52 N_("_Lock Dock Layout"), NULL,
53 N_("Lock the current dock layout so that widgets cannot be moved"),
54 G_CALLBACK (on_layout_lock_toggle)}
57 static GtkActionEntry menu_entries_help[] = {
58 { "ActionMenuHelp", NULL, N_("_Help")},
59 { "ActionHelpUserManual", GTK_STOCK_HELP,
60 N_("_User's Manual"), "F1",
61 N_("Anjuta user's manual"),
62 G_CALLBACK (on_help_manual_activate)},
63 { "ActionHelpTutorial", NULL,
64 N_("Kick start _tutorial"), NULL,
65 N_("Anjuta Kick start tutorial"),
66 G_CALLBACK (on_help_tutorial_activate)},
67 { "ActionHelpAdvancedTutorial", NULL,
68 N_("_Advanced tutorial"), NULL,
69 N_("Anjuta advanced tutorial"),
70 G_CALLBACK (on_help_advanced_tutorial_activate)},
71 { "ActionHelpFaqManual", NULL,
72 N_("_Frequently Asked Questions"), NULL,
73 N_("Anjuta frequently asked questions"),
74 G_CALLBACK (on_help_faqs_activate)},
75 { "ActionHelpAnjutaHome", GTK_STOCK_HOME,
76 N_("Anjuta _Home Page"), NULL,
77 N_("Online documentation and resources"),
78 G_CALLBACK (on_url_home_activate)},
79 { "ActionHelpBugReport", NULL,
80 N_("Report _Bugs/Patches/Requests"), NULL,
81 N_("Submit a bug report, patch or feature request for Anjuta"),
82 G_CALLBACK (on_url_bugs_activate)},
83 { "ActionHelpFaq", NULL,
84 N_("Ask a _Question"), NULL,
85 N_("Submit a question for FAQs"),
86 G_CALLBACK (on_url_faqs_activate)},
87 { "ActionAboutAnjuta", GTK_STOCK_ABOUT,
88 N_("_About"), NULL,
89 N_("About Anjuta"),
90 G_CALLBACK (on_about_activate)},
91 { "ActionAboutPlugins", GTK_STOCK_ABOUT,
92 N_("About External _Plugins"), NULL,
93 N_("About third party Anjuta plugins"),
94 NULL}