Fixed pygtk default makefile
[anjuta.git] / src / anjuta-actions.h
blob1fa05411c41c6b7b463441f20a1bc7cb04d5b77d
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)}
45 static GtkToggleActionEntry menu_entries_toggle_view[] = {
46 { "ActionViewFullscreen", GTK_STOCK_FULLSCREEN,
47 N_("_Full Screen"), "F11",
48 N_("Toggle fullscreen mode"),
49 G_CALLBACK (on_fullscreen_toggle)},
50 { "ActionViewLockLayout", NULL,
51 N_("_Lock Dock Layout"), NULL,
52 N_("Lock the current dock layout so that widgets cannot be moved"),
53 G_CALLBACK (on_layout_lock_toggle)},
54 { "ActionViewToolbar", NULL,
55 N_("_Toolbar"), NULL,
56 N_("Show or hide the toolbar"),
57 G_CALLBACK (on_toolbar_view_toggled)}
60 static GtkActionEntry menu_entries_help[] = {
61 { "ActionMenuHelp", NULL, N_("_Help")},
62 { "ActionHelpUserManual", GTK_STOCK_HELP,
63 N_("_User's Manual"), "F1",
64 N_("Anjuta user's manual"),
65 G_CALLBACK (on_help_manual_activate)},
66 { "ActionHelpTutorial", NULL,
67 N_("Kick start _tutorial"), NULL,
68 N_("Anjuta Kick start tutorial"),
69 G_CALLBACK (on_help_tutorial_activate)},
70 { "ActionHelpAdvancedTutorial", NULL,
71 N_("_Advanced tutorial"), NULL,
72 N_("Anjuta advanced tutorial"),
73 G_CALLBACK (on_help_advanced_tutorial_activate)},
74 { "ActionHelpFaqManual", NULL,
75 N_("_Frequently Asked Questions"), NULL,
76 N_("Anjuta frequently asked questions"),
77 G_CALLBACK (on_help_faqs_activate)},
78 { "ActionHelpAnjutaHome", GTK_STOCK_HOME,
79 N_("Anjuta _Home Page"), NULL,
80 N_("Online documentation and resources"),
81 G_CALLBACK (on_url_home_activate)},
82 { "ActionHelpBugReport", NULL,
83 N_("Report _Bugs/Patches/Requests"), NULL,
84 N_("Submit a bug report, patch or feature request for Anjuta"),
85 G_CALLBACK (on_url_bugs_activate)},
86 { "ActionHelpFaq", NULL,
87 N_("Ask a _Question"), NULL,
88 N_("Submit a question for FAQs"),
89 G_CALLBACK (on_url_faqs_activate)},
90 { "ActionAboutAnjuta", GTK_STOCK_ABOUT,
91 N_("_About"), NULL,
92 N_("About Anjuta"),
93 G_CALLBACK (on_about_activate)},
94 { "ActionAboutPlugins", GTK_STOCK_ABOUT,
95 N_("About External _Plugins"), NULL,
96 N_("About third-party Anjuta plugins"),
97 NULL}