[gedit-latex/remove-snippets: 1/3] FIXME: Latex -> {PDF, PNG} works, kind of



commit 900c98c445254eb456975b149d99cbcbe9659f2e
Author: John Stowers <john stowers gmail com>
Date:   Sat Jun 25 00:56:51 2011 +1200

    FIXME: Latex -> {PDF, PNG} works, kind of

 latex/tools/__init__.py |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/latex/tools/__init__.py b/latex/tools/__init__.py
index 56c7f93..181d29c 100644
--- a/latex/tools/__init__.py
+++ b/latex/tools/__init__.py
@@ -118,7 +118,7 @@ class ToolAction(Action):
 		return self._tool.description
 	
 	def activate(self, context):
-		self._log.debug("activate: " + str(self._tool))
+		self._log.debug("activate: %s" % self._tool)
 		
 		tool_view = context.find_view(None, "ToolView")
 		
@@ -194,7 +194,9 @@ class ToolRunner(Process):
 			# Tool finished successfully
 			self._issue_handler.set_partition_state(self._root_issue_partition, "succeeded")
 			# disable abort
-			self._issue_handler.set_abort_enabled(False, None)
+
+			# FIXME: CRASHES
+			# self._issue_handler.set_abort_enabled(False, None)
 			
 			self._on_tool_succeeded()
 	



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]