Ticket #1278: LaTeX.pm.patch
| File LaTeX.pm.patch, 1.0 KB (added by bowtie, 22 months ago) |
|---|
-
lib/Padre/Plugin/LaTeX.pm
4 4 5 5 use warnings; 6 6 use strict; 7 7 our $VERSION = '0.110'; 8 8 use File::Spec::Functions qw{ catfile }; 9 9 10 10 use base 'Padre::Plugin'; … … 15 15 } 16 16 17 17 sub padre_interfaces { 18 'Padre::Plugin' => 0.81, 'Padre::Document' => 0.81; 18 return ( 19 'Padre::Plugin' => '0.86', 20 'Padre::Document' => '0.86', 21 'Padre::Wx::Main' => '0.86', 22 ); 19 23 } 20 24 21 25 sub registered_documents { … … 194 198 return; 195 199 } 196 200 201 ####### 202 # Clean up, Padre::Plugin, 203 # POD out of date as of v0.84 204 ####### 205 sub plugin_disable { 206 my $self = shift; 197 207 208 # Close the dialog if it is hanging around 209 if ( $self->{dialog} ) { 210 $self->{dialog}->Destroy; 211 $self->{dialog} = undef; 212 } 213 214 # Unload all our child classes 215 $self->unload('Padre::Document::LaTeX'); 216 $self->unload('Padre::Document::BibTeX'); 217 218 return 1; 219 } 220 198 221 1; 199 222 __END__ 200 223
