Ticket #1260 (closed enhancement: not relevant)
fix for :- This violates encapsulation
| Reported by: | bowtie | Owned by: | Alias |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | editor | Version: | 0.87 |
| Keywords: | introspection | Cc: |
Description
Fix for:
644 # NOTE: This violates encapsulation. The plugin manager should be
645 # manipulated from the outside, it shouldn't introspect it's parent IDE
-
lib/Padre/PluginManager.pm
641 641 $config->set( enabled => 0 ); 642 642 } 643 643 644 # NOTE: This violates encapsulation. The plugin manager should be645 # manipulated from the outside, it shouldn't introspect it's parent IDE646 unless ( $config->enabled or $self->current->ide->{with_plugin}->{$module}) {644 # Is Plugin enabled -> $tuple[0][2] in config.db 645 my @tuple = Padre::DB::Plugin->select('WHERE name = ?',$module); 646 unless ($tuple[0][2]) { 647 647 $plugin->status('disabled'); 648 648 return; 649 649 }
Change History
Note: See
TracTickets for help on using
tickets.
