1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
4 * Copyright (C) 2003 Naba Kumar <naba@gnome.org>
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)
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
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., 59
17 * Temple Place, Suite 330, Boston, MA 02111-1307 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")}
33 static GtkActionEntry menu_entries_view
[] = {
34 { "ActionMenuView", NULL
, N_("_View")},
35 { "ActionViewResetLayout", NULL
,
36 N_("_Reset Dock Layout"), NULL
,
37 N_("Reset the widgets docking layout to default"),
38 G_CALLBACK (on_reset_layout_activate
)},
39 { "ActionViewToolbars", NULL
, N_("_Toolbars")}
42 static GtkToggleActionEntry menu_entries_toggle_view
[] = {
43 { "ActionViewFullscreen", NULL
,
44 N_("_Full Screen"), NULL
,
45 N_("Toggle fullscreen mode"),
46 G_CALLBACK (on_fullscreen_toggle
)},
47 { "ActionViewLockLayout", NULL
,
48 N_("_Lock Dock Layout"), NULL
,
49 N_("Lock the current dock layout so that widgets cannot be moved"),
50 G_CALLBACK (on_layout_lock_toggle
)}
53 static GtkActionEntry menu_entries_settings
[] = {
54 { "ActionMenuSettings", NULL
, N_("_Settings")},
55 { "ActionSettingsPreferences", GTK_STOCK_PROPERTIES
,
56 N_("_Preferences ..."), NULL
,
57 N_("Do you prefer coffee to tea? Check it out."),
58 G_CALLBACK (on_set_preferences1_activate
)},
59 { "ActionSettingsDefaults", GTK_STOCK_PROPERTIES
,
60 N_("Set _Default Preferences"), NULL
,
61 N_("But I prefer tea."),
62 G_CALLBACK (on_set_default_preferences1_activate
)},
63 { "ActionSettingsShortcuts", NULL
,
64 N_("C_ustomize shortcuts"), NULL
,
65 N_("Customize shortcuts associated with menu items"),
66 G_CALLBACK (on_customize_shortcuts_activate
)},
67 { "ActionSettingsPlugins", NULL
,
68 N_("Plugins manager"), NULL
,
69 N_("Manipulate plugins manager items"),
70 G_CALLBACK (on_show_plugins_activate
)}
73 static GtkActionEntry menu_entries_help
[] = {
74 { "ActionMenuHelp", NULL
, N_("_Help")},
75 { "ActionHelpUserManual", GTK_STOCK_HELP
,
76 N_("_Users manual"), "F1",
77 N_("Anjuta users manual"),
78 G_CALLBACK (on_help_manual_activate
)},
79 { "ActionHelpTutorial", NULL
,
80 N_("Kick start _tutorial"), NULL
,
81 N_("Anjuta Kick start tutorial"),
82 G_CALLBACK (on_help_tutorial_activate
)},
83 { "ActionHelpAdvancedTutorial", NULL
,
84 N_("_Advanced tutorial"), NULL
,
85 N_("Anjuta advanced tutorial"),
86 G_CALLBACK (on_help_advanced_tutorial_activate
)},
87 { "ActionHelpFaqManual", NULL
,
88 N_("_Frequently asked questions"), NULL
,
89 N_("Anjuta frequently asked questions"),
90 G_CALLBACK (on_help_faqs_activate
)},
91 { "ActionHelpAnjutaHome", GTK_STOCK_HOME
,
92 N_("Anjuta _Home Page"), NULL
,
93 N_("Online documentation and resources"),
94 G_CALLBACK (on_url_home_activate
)},
95 { "ActionHelpBugReport", NULL
,
96 N_("Report _Bugs/Patches/Requests"), NULL
,
97 N_("Submit a bug report, patch or feature request for Anjuta"),
98 G_CALLBACK (on_url_bugs_activate
)},
99 { "ActionHelpFaq", NULL
,
100 N_("Ask a _question"), NULL
,
101 N_("Submit a question for FAQs"),
102 G_CALLBACK (on_url_faqs_activate
)},
103 { "ActionAboutAnjuta", GNOME_STOCK_ABOUT
,
106 G_CALLBACK (on_about_activate
)},
107 { "ActionAboutPlugins", GNOME_STOCK_ABOUT
,
108 N_("About External _Plugins"), NULL
,
109 N_("About third party Anjuta plugins"),