~ubuntu-branches/debian/sid/goobox/sid

« back to all changes in this revision

Viewing changes to src/ui.h

  • Committer: Package Import Robot
  • Author(s): Helge Kreutzmann
  • Date: 2014-03-16 17:20:11 UTC
  • mfrom: (23.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20140316172011-jqd6knk2v3bsb96a
Tags: 3.3.1-2
* Upload to unstable
* help/el/el.po added from upstream git.
* po/lt.po updated from upstream git.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
 
 
3
 
/*
4
 
 *  Goo
5
 
 *
6
 
 *  Copyright (C) 2004 Free Software Foundation, Inc.
7
 
 *
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.
12
 
 *
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.
17
 
 *
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.
21
 
 */
22
 
 
23
 
#ifndef UI_H
24
 
#define UI_H
25
 
 
26
 
 
27
 
#include <config.h>
28
 
#include "actions.h"
29
 
#include "goo-stock.h"
30
 
 
31
 
 
32
 
static GtkActionEntry action_entries[] = {
33
 
        { "CDCoverMenu", NULL, N_("C_over") },
34
 
 
35
 
        { "TogglePlay", GOO_STOCK_PLAY,
36
 
          N_("_Play"), NULL,
37
 
          N_("Play/Pause"),
38
 
          G_CALLBACK (activate_action_toggle_play) },
39
 
        { "Play", GOO_STOCK_PLAY,
40
 
          N_("_Play"), NULL,
41
 
          N_("Play"),
42
 
          G_CALLBACK (activate_action_play) },
43
 
        { "PlaySelected", GOO_STOCK_PLAY,
44
 
          N_("_Play"), NULL,
45
 
          N_("Play this track"),
46
 
          G_CALLBACK (activate_action_play_selected) },
47
 
        { "Pause", GOO_STOCK_PAUSE,
48
 
          N_("_Pause"), NULL,
49
 
          N_("Pause"),
50
 
          G_CALLBACK (activate_action_pause) },
51
 
        { "Stop", GOO_STOCK_STOP,
52
 
          N_("_Stop"), NULL,
53
 
          N_("Stop playing"),
54
 
          G_CALLBACK (activate_action_stop) },
55
 
        { "Next", GOO_STOCK_NEXT,
56
 
          N_("_Next"), NULL,
57
 
          N_("Play the next track"),
58
 
          G_CALLBACK (activate_action_next) },
59
 
        { "Prev", GOO_STOCK_PREV,
60
 
          N_("Pre_v"), NULL,
61
 
          N_("Play the previous track"),
62
 
          G_CALLBACK (activate_action_prev) },
63
 
        { "Eject", NULL,
64
 
          N_("_Eject"), NULL,
65
 
          N_("Eject the disc"),
66
 
          G_CALLBACK (activate_action_eject) },
67
 
        { "EjectToolBar", GOO_STOCK_EJECT,
68
 
          N_("_Eject"), NULL,
69
 
          N_("Eject the disc"),
70
 
          G_CALLBACK (activate_action_eject) },
71
 
        { "CopyDisc", NULL,
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,
84
 
          NULL, NULL,
85
 
          N_("Edit the disc artist, album and the tracks titles"),
86
 
          G_CALLBACK (activate_action_properties) },
87
 
        { "Close", GTK_STOCK_CLOSE,
88
 
          NULL, NULL,
89
 
          NULL,
90
 
          G_CALLBACK (activate_action_close) },
91
 
        { "Quit", GTK_STOCK_QUIT,
92
 
          NULL, NULL,
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,
104
 
          NULL, NULL,
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,
112
 
          NULL, NULL,
113
 
          NULL,
114
 
          G_CALLBACK (activate_action_reload) },
115
 
 
116
 
        /* accelerators */
117
 
 
118
 
        { "TogglePlayAccel", NULL,
119
 
          NULL, "space",
120
 
          NULL,
121
 
          G_CALLBACK (activate_action_toggle_play) },
122
 
        { "StopAccel", NULL,
123
 
          NULL, "Escape",
124
 
          NULL,
125
 
          G_CALLBACK (activate_action_stop) },
126
 
        { "NextAccel", NULL,
127
 
          NULL, "N",
128
 
          NULL,
129
 
          G_CALLBACK (activate_action_next) },
130
 
        { "PrevAccel", NULL,
131
 
          NULL, "P",
132
 
          NULL,
133
 
          G_CALLBACK (activate_action_prev) },
134
 
        { "EjectAccel", NULL,
135
 
          NULL, "J",
136
 
          NULL,
137
 
          G_CALLBACK (activate_action_eject) },
138
 
        { "CopyDiscAccel", NULL,
139
 
          NULL, "C",
140
 
          NULL,
141
 
          G_CALLBACK (activate_action_copy_disc) },
142
 
        { "ExtractAccel", NULL,
143
 
          NULL, "E",
144
 
          NULL,
145
 
          G_CALLBACK (activate_action_extract) },
146
 
        { "PropertiesAccel", NULL,
147
 
          NULL, "<Ctrl>Return",
148
 
          NULL,
149
 
          G_CALLBACK (activate_action_properties) },
150
 
        { "CloseAccel", NULL,
151
 
          NULL, "<Ctrl>W",
152
 
          NULL,
153
 
          G_CALLBACK (activate_action_close) }
154
 
};
155
 
static guint n_action_entries = G_N_ELEMENTS (action_entries);
156
 
 
157
 
#endif /* UI_H */