Changeset 3288


Ignore:
Timestamp:
03/12/09 07:52:10 (3 years ago)
Author:
jquelin
Message:

using reset_my_plugin() from pluginmanager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/Wx/Menu/Plugins.pm

    r3263 r3288  
    7979            if ( $ret == Wx::wxOK) { 
    8080                my $manager = Padre->ide->plugin_manager; 
    81                 my $target = File::Spec->catfile( 
    82                     $manager->plugin_dir, 
    83                     qw{ Padre Plugin My.pm } 
    84                 ); 
    8581                $manager->unload_plugin("My"); 
    86                 Padre::Config->copy_original_My_plugin($target); 
     82                $manager->reset_my_plugin(1); 
    8783                $manager->load_plugin("My"); 
    8884            } 
Note: See TracChangeset for help on using the changeset viewer.