1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
6
* Copyright (C) 2004 Free Software Foundation, Inc.
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., 59 Temple Street #330, Boston, MA 02111-1307, USA.
29
#include "goo-stock.h"
32
static GtkActionEntry action_entries[] = {
33
{ "CDCoverMenu", NULL, N_("C_over") },
35
{ "TogglePlay", GOO_STOCK_PLAY,
38
G_CALLBACK (activate_action_toggle_play) },
39
{ "Play", GOO_STOCK_PLAY,
42
G_CALLBACK (activate_action_play) },
43
{ "PlaySelected", GOO_STOCK_PLAY,
45
N_("Play this track"),
46
G_CALLBACK (activate_action_play_selected) },
47
{ "Pause", GOO_STOCK_PAUSE,
50
G_CALLBACK (activate_action_pause) },
51
{ "Stop", GOO_STOCK_STOP,
54
G_CALLBACK (activate_action_stop) },
55
{ "Next", GOO_STOCK_NEXT,
57
N_("Play the next track"),
58
G_CALLBACK (activate_action_next) },
59
{ "Prev", GOO_STOCK_PREV,
61
N_("Play the previous track"),
62
G_CALLBACK (activate_action_prev) },
66
G_CALLBACK (activate_action_eject) },
67
{ "EjectToolBar", GOO_STOCK_EJECT,
70
G_CALLBACK (activate_action_eject) },
72
N_("_Copy Disc"), NULL,
73
N_("Copy the content of this disc on another disc"),
74
G_CALLBACK (activate_action_copy_disc) },
75
{ "Extract", GOO_STOCK_EXTRACT,
76
N_("E_xtract Tracks"), NULL,
77
N_("Save the tracks to disk as files"),
78
G_CALLBACK (activate_action_extract) },
79
{ "ExtractSelected", GOO_STOCK_EXTRACT,
80
N_("E_xtract Tracks"), NULL,
81
N_("Save the selected tracks to disk as files"),
82
G_CALLBACK (activate_action_extract_selected) },
83
{ "Properties", GTK_STOCK_PROPERTIES,
85
N_("Edit the disc artist, album and the tracks titles"),
86
G_CALLBACK (activate_action_properties) },
87
{ "Close", GTK_STOCK_CLOSE,
90
G_CALLBACK (activate_action_close) },
91
{ "Quit", GTK_STOCK_QUIT,
93
N_("Quit the application"),
94
G_CALLBACK (activate_action_quit) },
95
{ "PickCoverFromDisk", GTK_STOCK_OPEN,
96
N_("_Choose File..."), NULL,
97
N_("Choose a file to use as disc cover"),
98
G_CALLBACK (activate_action_pick_cover_from_disk) },
99
{ "SearchCoverFromWeb", GTK_STOCK_FIND,
100
N_("_Search on Internet"), NULL,
101
N_("Search for a disc cover on Internet"),
102
G_CALLBACK (activate_action_search_cover_on_internet) },
103
{ "RemoveCover", GTK_STOCK_REMOVE,
105
N_("Remove current disc cover"),
106
G_CALLBACK (activate_action_remove_cover) },
107
{ "ToggleVisibility", NULL,
108
N_("_Hide Window"), NULL,
109
N_("Hide the main window"),
110
G_CALLBACK (activate_action_toggle_visibility) },
111
{ "Reload", GTK_STOCK_REFRESH,
114
G_CALLBACK (activate_action_reload) },
118
{ "TogglePlayAccel", NULL,
121
G_CALLBACK (activate_action_toggle_play) },
125
G_CALLBACK (activate_action_stop) },
129
G_CALLBACK (activate_action_next) },
133
G_CALLBACK (activate_action_prev) },
134
{ "EjectAccel", NULL,
137
G_CALLBACK (activate_action_eject) },
138
{ "CopyDiscAccel", NULL,
141
G_CALLBACK (activate_action_copy_disc) },
142
{ "ExtractAccel", NULL,
145
G_CALLBACK (activate_action_extract) },
146
{ "PropertiesAccel", NULL,
147
NULL, "<Ctrl>Return",
149
G_CALLBACK (activate_action_properties) },
150
{ "CloseAccel", NULL,
153
G_CALLBACK (activate_action_close) }
155
static guint n_action_entries = G_N_ELEMENTS (action_entries);