~ubuntu-branches/debian/sid/cheese/sid

« back to all changes in this revision

Viewing changes to src/cheese-ui.h

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville
  • Date: 2011-07-17 21:04:16 UTC
  • mfrom: (15.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20110717210416-nt5qi659qei7a2yy
Tags: 3.0.1-2
* debian/control.in:
  - Change gir1.2-cheese-3.0 Section to libs
  - Make library packages depend against cheese-common package
  - Make cheese package recommends against hicolor-icon-theme
  - Move gst Dependency to libcheese package
* debian/patches/0002-fix-linking.patch: Add missing library to fix linking
* debian/watch:
  - Switch to .bz2 tarballs.
  - Bump version to 3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
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>
5
 
 *
6
 
 * Licensed under the GNU General Public License Version 2
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, see <http://www.gnu.org/licenses/>.
20
 
 */
21
 
 
22
 
#ifndef __CHEESE_UI_H__
23
 
#define __CHEESE_UI_H__
24
 
 
25
 
#include <glib.h>
26
 
#include <gtk/gtk.h>
27
 
#include "cheese-commands.h"
28
 
 
29
 
G_BEGIN_DECLS
30
 
 
31
 
const GtkActionEntry action_entries_main[] = {
32
 
  {"Cheese",       NULL,            N_("_Cheese")                       },
33
 
 
34
 
  {"Edit",         NULL,            N_("_Edit")                         },
35
 
  {"Help",         NULL,            N_("_Help")                         },
36
 
 
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)},
41
 
};
42
 
 
43
 
const GtkActionEntry action_entries_prefs[] = {
44
 
  {"Preferences",  GTK_STOCK_PREFERENCES, N_("Preferences"), NULL, NULL, G_CALLBACK (cheese_window_preferences_cb)},
45
 
};
46
 
 
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},
51
 
};
52
 
 
53
 
const GtkToggleActionEntry action_entries_countdown[] = {
54
 
  {"Countdown", NULL, N_("Countdown"), NULL, NULL, G_CALLBACK (cheese_window_toggle_countdown), FALSE},
55
 
};
56
 
const GtkToggleActionEntry action_entries_effects[] = {
57
 
  {"Effects", NULL, N_("_Effects"), NULL, NULL, G_CALLBACK (cheese_window_effect_button_pressed_cb), FALSE},
58
 
};
59
 
 
60
 
const GtkToggleActionEntry action_entries_fullscreen[] = {
61
 
  {"Fullscreen", GTK_STOCK_FULLSCREEN, NULL, "F11", NULL, G_CALLBACK (cheese_window_toggle_fullscreen), FALSE},
62
 
};
63
 
const GtkToggleActionEntry action_entries_wide_mode[] = {
64
 
  {"WideMode", NULL, N_("_Wide mode"), NULL, NULL, G_CALLBACK (cheese_window_toggle_wide_mode), FALSE},
65
 
};
66
 
 
67
 
const GtkActionEntry action_entries_photo[] = {
68
 
  {"TakePhoto", NULL, N_("_Take a Photo"), "space", NULL, G_CALLBACK (cheese_window_action_button_clicked_cb)},
69
 
};
70
 
const GtkToggleActionEntry action_entries_video[] = {
71
 
  {"TakeVideo", NULL, N_("_Recording"), "space", NULL, G_CALLBACK (cheese_window_action_button_clicked_cb), FALSE},
72
 
};
73
 
const GtkActionEntry action_entries_burst[] = {
74
 
  {"TakeBurst", NULL, N_("_Take multiple Photos"), "space", NULL, G_CALLBACK (cheese_window_action_button_clicked_cb)},
75
 
};
76
 
 
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)},
86
 
};
87
 
 
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)},
91
 
};
92
 
 
93
 
G_END_DECLS
94
 
 
95
 
#endif /* __CHEESE_UI_H__ */