id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1278	Padre::Plugin::LaTeX, fix for missing version & some :)	bowtie	zenog	"As requested, relating to this afternoons irc, ;)

{{{#!diff
Index: lib/Padre/Plugin/LaTeX.pm
===================================================================
--- lib/Padre/Plugin/LaTeX.pm	(revision 15232)
+++ lib/Padre/Plugin/LaTeX.pm	(working copy)
@@ -4,7 +4,7 @@
 
 use warnings;
 use strict;
-
+our $VERSION = '0.110';
 use File::Spec::Functions qw{ catfile };
 
 use base 'Padre::Plugin';
@@ -15,7 +15,11 @@
 }
 
 sub padre_interfaces {
-	'Padre::Plugin' => 0.81, 'Padre::Document' => 0.81;
+	return (
+	'Padre::Plugin' => '0.86',
+	'Padre::Document' => '0.86',
+	'Padre::Wx::Main' => '0.86',
+	);
 }
 
 sub registered_documents {
@@ -194,7 +198,26 @@
 	return;
 }
 
+#######
+# Clean up, Padre::Plugin,
+# POD out of date as of v0.84
+#######
+sub plugin_disable {
+    my $self = shift;
 
+    # Close the dialog if it is hanging around
+    if ( $self->{dialog} ) {
+        $self->{dialog}->Destroy;
+        $self->{dialog} = undef;
+    }
+
+    # Unload all our child classes
+    $self->unload('Padre::Document::LaTeX');
+    $self->unload('Padre::Document::BibTeX');
+
+    return 1;
+}
+
 1;
 __END__
 

}}}"	defect	closed	major		plugins	0.87	fixed		
