~ubuntu-branches/debian/experimental/brasero/experimental

« back to all changes in this revision

Viewing changes to src/brasero-menu.h

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette, Pedro Fragoso, Luca Bruno, Josselin Mouette, Emilio Pozuelo Monfort
  • Date: 2009-06-24 18:59:46 UTC
  • mfrom: (1.2.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20090624185946-iyxkgf3gjptir5y3
Tags: 2.26.2-1
[ Pedro Fragoso ]
* Add myself to Maintainer field
  - Thanks Ondřej Surý
* New upstream version (Closes: #528945)
  - Split package into brasero, libbrasero-media0 and libbrasero-dev
  - Add Replaces to libbrasero-media0
  - Bump libgtk to 2.14.0
  - Remove libnotify Build-dep
  - Add Build-dep libnautilus-extension-dev (>= 2.22.2)
    and install it.
  - Add Build-dep to libsm-dev
  - Add Build-dep on intltool
* Install omf files to prevent crash on Help
* Move gstreamer0.10-plugins-bad to Suggests, and add
  dvdauthor and vcdimager
* Recommends gvfs (Closes: #491827)
* Pass --disable-scrollkeeper in DEB_CONFIGURE_EXTRA_FLAGS
* debian/patches/007-fix-gnome-doc-utils-path.patch:
  - Removed, not needed anymore
* debian/patches/008-fix-volume-identifier-crash.patch:
  - Removed, merged upstream
* debian/patches/011_nautilus_menu_move.patch:
 - Move CD/DVD Creator Menu to Acessories, taken from Ubuntu

[ Luca Bruno ]
* debian/control.in:
  - Add Build-Depend gtk-doc-tools 1.9.
* debian/patches/006-fix-libdvdcss.patch:
  - Removed as applied upstream.

[ Josselin Mouette ]
* New upstream release.
* Update build-dependencies.
* Move the translations and data to a new brasero-common package.
* Rewrite the descriptions.
* Add -dev depends to the development package.
* Remove inappropriate recommends in the library package.
* Let’s not forget dvd+rw-tools so that we can write DVDs too.
* Rework dependencies accordingly.
* Put the nautilus extension in brasero.
* Conflict against nautilus-cd-burner to avoid having two burning 
  extensions.
* Include clean-la.mk and gnome-version.mk; build-depend on 
  gnome-pkg-tools 0.7.
* Don’t run dh_makeshlibs on brasero and libbrasero-plugins.
* 011_nautilus_menu_move.patch: add NoDisplay=true, this icon is 
  duplicating existing functionality (brasero icon in sound&video 
  menu, and nautilus autorun).
* Update list of copyright holders.

[ Emilio Pozuelo Monfort ]
* debian/copyright: updated.

[ Josselin Mouette ]
* copyright: improve indentation, and point to versioned LGPL.
* 090_relibtoolize.patch: add a relibtoolization patch to avoid the 
  rpath crap.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * This program is free software; you can redistribute it and/or modify
3
 
 * it under the terms of the GNU General Public License as published by
4
 
 * the Free Software Foundation; either version 2 of the License, or
5
 
 * (at your option) any later version.
6
 
 * 
7
 
 * This program is distributed in the hope that it will be useful,
8
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
 
 * GNU Library General Public License for more details.
11
 
 * 
12
 
 * You should have received a copy of the GNU General Public License
13
 
 * along with this program; if not, write to the Free Software
14
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15
 
 */
16
 
 
17
 
/***************************************************************************
18
 
 *            menu.h
19
 
 *
20
 
 *  Sat Jun 11 12:00:29 2005
21
 
 *  Copyright  2005  Philippe Rouquier  
22
 
 *  <brasero-app@wanadoo.fr>
23
 
 ****************************************************************************/
24
 
 
25
 
#ifndef _MENU_H
26
 
#define _MENU_H
27
 
 
28
 
G_BEGIN_DECLS
29
 
 
30
 
#ifdef HAVE_CONFIG_H
31
 
#  include <config.h>
32
 
#endif
33
 
 
34
 
#include <glib.h>
35
 
#include <glib/gi18n-lib.h>
36
 
 
37
 
#include <gtk/gtkstock.h>
38
 
#include <gtk/gtkaction.h>
39
 
#include <gtk/gtktoggleaction.h>
40
 
 
41
 
#include "brasero-utils.h"
42
 
#include "brasero-app.h"
43
 
 
44
 
void on_prefs_cb (GtkAction *action, BraseroApp *app);
45
 
void on_eject_cb (GtkAction *action, BraseroApp *app);
46
 
void on_erase_cb (GtkAction *action, BraseroApp *app);
47
 
void on_integrity_check_cb (GtkAction *action, BraseroApp *app);
48
 
 
49
 
void on_exit_cb (GtkAction *action, BraseroApp *app);
50
 
 
51
 
void on_burn_cb (GtkAction *action, BraseroApp *app);
52
 
void on_disc_info_cb (GtkAction *action, BraseroApp *app);
53
 
void on_about_cb (GtkAction *action, BraseroApp *app);
54
 
void on_help_cb (GtkAction *action, BraseroApp *app);
55
 
 
56
 
static GtkActionEntry entries[] = {
57
 
        {"ProjectMenu", NULL, N_("_Project")},
58
 
        {"ViewMenu", NULL, N_("_View")},
59
 
        {"EditMenu", NULL, N_("_Edit")},
60
 
        {"ToolMenu", NULL, N_("_Tools")},
61
 
        {"HelpMenu", NULL, N_("_Help")},
62
 
 
63
 
        {"Plugins", NULL, N_("P_lugins"), NULL,
64
 
         N_("Choose plugins for brasero"), G_CALLBACK (on_prefs_cb)},
65
 
 
66
 
        {"Eject", "media-eject", N_("E_ject"), NULL,
67
 
         N_("Eject media"), G_CALLBACK (on_eject_cb)},
68
 
 
69
 
        {"Erase", "media-optical-blank", N_("_Erase..."), NULL,
70
 
         N_("Erase a disc"), G_CALLBACK (on_erase_cb)},
71
 
 
72
 
        {"Check", GTK_STOCK_FIND, N_("_Check Integrity..."), NULL,
73
 
         N_("Check data integrity of disc"), G_CALLBACK (on_integrity_check_cb)},
74
 
 
75
 
        {"Exit", GTK_STOCK_QUIT, NULL, NULL,
76
 
         N_("Exit the program"), G_CALLBACK (on_exit_cb)},
77
 
        
78
 
        {"Contents", GTK_STOCK_HELP, N_("_Contents"), "F1", N_("Contents"),
79
 
         G_CALLBACK (on_help_cb)}, 
80
 
 
81
 
        {"About", GTK_STOCK_ABOUT, NULL, NULL, N_("About"),
82
 
         G_CALLBACK (on_about_cb)},
83
 
 
84
 
        {"DiscInfo", GTK_STOCK_CDROM, N_("_Disc Info"), NULL,
85
 
         N_("Display information on blank discs currently inserted"),
86
 
         G_CALLBACK (on_disc_info_cb)},
87
 
};
88
 
 
89
 
 
90
 
static const gchar *description = {
91
 
        "<ui>"
92
 
            "<menubar name='menubar' >"
93
 
            "<menu action='ProjectMenu'>"
94
 
                "<placeholder name='ProjectPlaceholder'/>"
95
 
                "<separator/>"
96
 
                "<menuitem action='Exit'/>"
97
 
            "</menu>"
98
 
            "<menu action='EditMenu'>"
99
 
                "<placeholder name='EditPlaceholder'/>"
100
 
                "<separator/>"
101
 
                "<menuitem action='Plugins'/>"
102
 
            "</menu>"
103
 
            "<menu action='ViewMenu'>"
104
 
                "<placeholder name='ViewPlaceholder'/>"
105
 
            "</menu>"
106
 
            "<menu action='ToolMenu'>"
107
 
                "<placeholder name='DiscPlaceholder'/>"
108
 
                "<menuitem action='Eject'/>"
109
 
                "<menuitem action='Erase'/>"
110
 
                "<menuitem action='Check'/>"
111
 
            "</menu>"
112
 
            "<menu action='HelpMenu'>"
113
 
                "<menuitem action='Contents'/>"
114
 
                "<separator/>"
115
 
                "<menuitem action='About'/>"
116
 
            "</menu>"
117
 
            "</menubar>"
118
 
        "</ui>"
119
 
};
120
 
 
121
 
G_END_DECLS
122
 
 
123
 
#endif                          /* _MENU_H */