2
* Copyright © 2010 Filippo Argiolas <filippo.argiolas@gmail.com>
3
* Copyright © 2007,2008 daniel g. siegel <dgsiegel@gnome.org>
4
* Copyright © 2007,2008 Jaap Haitsma <jaap@haitsma.org>
6
* Licensed under the GNU General Public License Version 2
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, see <http://www.gnu.org/licenses/>.
22
#ifndef __CHEESE_UI_H__
23
#define __CHEESE_UI_H__
27
#include "cheese-commands.h"
31
const GtkActionEntry action_entries_main[] = {
32
{"Cheese", NULL, N_("_Cheese") },
34
{"Edit", NULL, N_("_Edit") },
35
{"Help", NULL, N_("_Help") },
37
{"Quit", GTK_STOCK_QUIT, NULL, NULL, NULL, G_CALLBACK (cheese_cmd_quit)},
38
{"HelpContents", GTK_STOCK_HELP, N_("_Contents"), "F1", N_("Help on this Application"),
39
G_CALLBACK (cheese_cmd_help_contents)},
40
{"About", GTK_STOCK_ABOUT, NULL, NULL, NULL, G_CALLBACK (cheese_cmd_about)},
43
const GtkActionEntry action_entries_prefs[] = {
44
{"Preferences", GTK_STOCK_PREFERENCES, N_("Preferences"), NULL, NULL, G_CALLBACK (cheese_window_preferences_cb)},
47
const GtkRadioActionEntry action_entries_toggle[] = {
48
{"Photo", NULL, N_("_Photo"), NULL, NULL, 0},
49
{"Video", NULL, N_("_Video"), NULL, NULL, 1},
50
{"Burst", NULL, N_("_Burst"), NULL, NULL, 2},
53
const GtkToggleActionEntry action_entries_countdown[] = {
54
{"Countdown", NULL, N_("Countdown"), NULL, NULL, G_CALLBACK (cheese_window_toggle_countdown), FALSE},
56
const GtkToggleActionEntry action_entries_effects[] = {
57
{"Effects", NULL, N_("_Effects"), NULL, NULL, G_CALLBACK (cheese_window_effect_button_pressed_cb), FALSE},
60
const GtkToggleActionEntry action_entries_fullscreen[] = {
61
{"Fullscreen", GTK_STOCK_FULLSCREEN, NULL, "F11", NULL, G_CALLBACK (cheese_window_toggle_fullscreen), FALSE},
63
const GtkToggleActionEntry action_entries_wide_mode[] = {
64
{"WideMode", NULL, N_("_Wide mode"), NULL, NULL, G_CALLBACK (cheese_window_toggle_wide_mode), FALSE},
67
const GtkActionEntry action_entries_photo[] = {
68
{"TakePhoto", NULL, N_("_Take a Photo"), "space", NULL, G_CALLBACK (cheese_window_action_button_clicked_cb)},
70
const GtkToggleActionEntry action_entries_video[] = {
71
{"TakeVideo", NULL, N_("_Recording"), "space", NULL, G_CALLBACK (cheese_window_action_button_clicked_cb), FALSE},
73
const GtkActionEntry action_entries_burst[] = {
74
{"TakeBurst", NULL, N_("_Take multiple Photos"), "space", NULL, G_CALLBACK (cheese_window_action_button_clicked_cb)},
77
const GtkActionEntry action_entries_file[] = {
78
{"Open", GTK_STOCK_OPEN, N_("_Open"), "<control>O", NULL,
79
G_CALLBACK (cheese_cmd_file_open)},
80
{"SaveAs", GTK_STOCK_SAVE_AS, N_("Save _As…"), "<control>S", NULL,
81
G_CALLBACK (cheese_cmd_file_save_as)},
82
{"MoveToTrash", "user-trash", N_("Move to _Trash"), "Delete", NULL,
83
G_CALLBACK (cheese_cmd_file_move_to_trash)},
84
{"Delete", NULL, N_("Delete"), "<shift>Delete", NULL,
85
G_CALLBACK (cheese_cmd_file_delete)},
88
static const GtkActionEntry action_entries_trash[] = {
89
{"RemoveAll", NULL, N_("Move All to Trash"), NULL, NULL,
90
G_CALLBACK (cheese_cmd_file_move_all_to_trash)},
95
#endif /* __CHEESE_UI_H__ */