~ubuntu-branches/ubuntu/wily/padre/wily

« back to all changes in this revision

Viewing changes to lib/Padre/Wx/Menu/Window.pm

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov
  • Date: 2009-05-09 18:19:53 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090509181953-ttew3adppp057nha
Tags: 0.35-1
* New Upstream Version

* install eg/ as examples only in padre (not also in libwx-perl-
  dialog-perl)
* mention --pristine-tar in README.source
* add disable-tcp-server.patch
  the tcp server is used for communication with running instance of padre.
  Although it only listens on 127.0.0.1, there is no measures taken to
  ensure that the user connecting to the server is the same as the user
  running padre.
* add README.debian documenting changes in the package compared to
  upstream sources

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
use Padre::Wx::Menu ();
10
10
use Padre::Current qw{_CURRENT};
11
11
 
12
 
our $VERSION = '0.34';
13
 
use base 'Padre::Wx::Menu';
 
12
our $VERSION = '0.35';
 
13
our @ISA     = 'Padre::Wx::Menu';
14
14
 
15
15
#####################################################################
16
16
# Padre::Wx::Menu Methods
171
171
                my $main = $self->{main};
172
172
                if ( $need > 0 ) {
173
173
                        foreach my $i ( 1 .. $need ) {
174
 
                                my $menu_entry = $self->Append( -1, '' );
 
174
 
 
175
                                # The temporary label 'tmp' is necessary (i.e. must be ne '')
 
176
                                # in order not to get a wx assertion failure in debug mode
 
177
                                my $menu_entry = $self->Append( -1, 'tmp' );
175
178
                                push @$alt, $menu_entry;
176
179
                                Wx::Event::EVT_MENU(
177
180
                                        $main, $menu_entry,