~ubuntu-branches/ubuntu/oneiric/padre/oneiric

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov
  • Date: 2009-04-28 16:21:53 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090428162153-9p3ygfznr9xt08sn
Tags: 0.34-1
* New upstream release

* bump liborlite-perl (build-)dependency to 1.20
* bump liborlite-migrate-perl (build-)dependency to 0.03
* refresh patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
use Padre::Wx::Menu ();
13
13
use Padre::Current qw{_CURRENT};
14
14
 
15
 
our $VERSION = '0.33';
 
15
our $VERSION = '0.34';
16
16
use base 'Padre::Wx::Menu';
17
17
 
18
18
#####################################################################
41
41
                },
42
42
        );
43
43
 
 
44
        # TODO: should be replaced by  a link to http://cpan.uwinnipeg.ca/chapter/World_Wide_Web_HTML_HTTP_CGI/Padre
 
45
        # better yet, by a window that also allows the installation of all the plugins that can take into account
 
46
        # the type of installation we have (ppm, stand alone, rpm, deb, CPAN, etc.)
 
47
        Wx::Event::EVT_MENU(
 
48
                $main,
 
49
                $self->Append( -1, Wx::gettext("All available plugins on CPAN") ),
 
50
                sub {
 
51
                        Wx::LaunchDefaultBrowser('http://cpan.uwinnipeg.ca/search?query=Padre%3A%3APlugin%3A%3A&mode=dist');
 
52
                },
 
53
        );
 
54
 
44
55
        # Create the plugin tools submenu
45
56
        my $tools = Wx::Menu->new;
46
57
        Wx::Event::EVT_MENU(