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

« back to all changes in this revision

Viewing changes to lib/Padre/Wx/Dialog/PluginManager.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:
27
27
use Padre::Wx::Icon;
28
28
use Padre::Wx ();
29
29
 
30
 
use base 'Wx::Frame';
 
30
use base 'Wx::Dialog';
31
31
 
32
 
our $VERSION = '0.34';
 
32
our $VERSION = '0.35';
33
33
 
34
34
# -- constructor
35
35
 
200
200
        # create vertical box that will host all controls
201
201
        my $hbox = Wx::BoxSizer->new(Wx::wxHORIZONTAL);
202
202
        $self->SetSizer($hbox);
203
 
        $self->SetMinSize( [ 640, 480 ] );
 
203
        $self->SetMinSize( [ 800, 600 ] );
204
204
        $self->_hbox($hbox);
205
205
 
206
206
        $self->_create_list;
286
286
        # the buttons
287
287
        my $hbox2 = Wx::BoxSizer->new(Wx::wxHORIZONTAL);
288
288
        $vbox->Add( $hbox2, 0, Wx::wxALL | Wx::wxEXPAND, 1 );
289
 
        my $b1 = Wx::Button->new( $self, -1, 'Button 1' );
290
 
        my $b2 = Wx::Button->new( $self, -1, Wx::gettext('Preferences') );
291
 
        my $b3 = Wx::Button->new( $self, -1, Wx::gettext('Close') );
 
289
        my $b1 = Wx::Button->new( $self, Wx::wxID_OK,     'Button 1' );
 
290
        my $b2 = Wx::Button->new( $self, -1,              Wx::gettext('Preferences') );
 
291
        my $b3 = Wx::Button->new( $self, Wx::wxID_CANCEL, Wx::gettext('Close') );
292
292
        Wx::Event::EVT_BUTTON( $self, $b1, \&_on_button_clicked );
293
293
        Wx::Event::EVT_BUTTON( $self, $b2, \&_on_butprefs_clicked );
294
294
        Wx::Event::EVT_BUTTON( $self, $b3, \&_on_butclose_clicked );