Tasks/Task.py

changeset 2997
7f0ef975da9e
parent 2965
d133c7edd88a
child 3057
10516539f238
child 3160
209a07d7e401
diff -r c6f16f1b9958 -r 7f0ef975da9e Tasks/Task.py
--- a/Tasks/Task.py	Tue Oct 08 19:52:11 2013 +0200
+++ b/Tasks/Task.py	Wed Oct 09 18:34:30 2013 +0200
@@ -111,13 +111,17 @@
         boldFont.setBold(True)
         for col in range(5):
             if self.taskType == Task.TypeFixme:
-                self.setBackgroundColor(col, Preferences.getTasks("TasksFixmeColor"))
+                self.setBackgroundColor(
+                    col, Preferences.getTasks("TasksFixmeColor"))
             elif self.taskType == Task.TypeWarning:
-                self.setBackgroundColor(col, Preferences.getTasks("TasksWarningColor"))
+                self.setBackgroundColor(
+                    col, Preferences.getTasks("TasksWarningColor"))
             elif self.taskType == Task.TypeTodo:
-                self.setBackgroundColor(col, Preferences.getTasks("TasksTodoColor"))
+                self.setBackgroundColor(
+                    col, Preferences.getTasks("TasksTodoColor"))
             else:
-                self.setBackgroundColor(col, Preferences.getTasks("TasksNoteColor"))
+                self.setBackgroundColor(
+                    col, Preferences.getTasks("TasksNoteColor"))
             if self._isProjectTask:
                 self.setFont(col, boldFont)
     
@@ -222,7 +226,8 @@
     
     def isProjectFileTask(self):
         """
-        Public slot to get an indication, if this task is related to a project file.
+        Public slot to get an indication, if this task is related to a
+        project file.
         
         @return flag indicating a project file task (boolean)
         """

eric ide

mercurial