TimeTRacker: fixed an issue switching to the time tracker via the keyboard shortcut. release-2.0.7

Sun, 15 Jul 2018 19:26:44 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 15 Jul 2018 19:26:44 +0200
changeset 75
d88d2d4943de
parent 74
100b562a5b33
child 76
be3761b31e4f

TimeTRacker: fixed an issue switching to the time tracker via the keyboard shortcut.

ChangeLog file | annotate | diff | comparison | revisions
PluginTimeTracker.e4p file | annotate | diff | comparison | revisions
PluginTimeTracker.py file | annotate | diff | comparison | revisions
PluginTimeTracker.zip file | annotate | diff | comparison | revisions
TimeTracker/TimeTracker.py file | annotate | diff | comparison | revisions
diff -r 100b562a5b33 -r d88d2d4943de ChangeLog
--- a/ChangeLog	Sat Mar 31 13:49:52 2018 +0200
+++ b/ChangeLog	Sun Jul 15 19:26:44 2018 +0200
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 2.0.7:
+- bug fixes
+
 Version 2.0.6:
 - bug fixes
 
diff -r 100b562a5b33 -r d88d2d4943de PluginTimeTracker.e4p
--- a/PluginTimeTracker.e4p	Sat Mar 31 13:49:52 2018 +0200
+++ b/PluginTimeTracker.e4p	Sun Jul 15 19:26:44 2018 +0200
@@ -233,6 +233,15 @@
         <value>
           <dict>
             <key>
+              <string>BlankLines</string>
+            </key>
+            <value>
+              <tuple>
+                <int>2</int>
+                <int>1</int>
+              </tuple>
+            </value>
+            <key>
               <string>BuiltinsChecker</string>
             </key>
             <value>
@@ -291,7 +300,7 @@
               <string>ExcludeMessages</string>
             </key>
             <value>
-              <string>C101, E265, E266, E305, E402, M811, N802, N803, N807, N808, N821, W293, M201</string>
+              <string>C101, E265, E266, E305, E402, M201, M811, N802, N803, N807, N808, N821, W293, W504</string>
             </value>
             <key>
               <string>FixCodes</string>
diff -r 100b562a5b33 -r d88d2d4943de PluginTimeTracker.py
--- a/PluginTimeTracker.py	Sat Mar 31 13:49:52 2018 +0200
+++ b/PluginTimeTracker.py	Sun Jul 15 19:26:44 2018 +0200
@@ -24,7 +24,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "2.0.6"
+version = "2.0.7"
 className = "TimeTrackerPlugin"
 packageName = "TimeTracker"
 shortDescription = "Time Tracker to keep track of the project time."
diff -r 100b562a5b33 -r d88d2d4943de PluginTimeTracker.zip
Binary file PluginTimeTracker.zip has changed
diff -r 100b562a5b33 -r d88d2d4943de TimeTracker/TimeTracker.py
--- a/TimeTracker/TimeTracker.py	Sat Mar 31 13:49:52 2018 +0200
+++ b/TimeTracker/TimeTracker.py	Sun Jul 15 19:26:44 2018 +0200
@@ -473,10 +473,16 @@
         """
         Private slot to handle the activation of the project browser.
         """
-        if self.__ui.layout == "Toolboxes":
+        try:
+            uiLayoutType = self.__ui.getLayoutType()
+        except AttributeError:
+            # backward compatibility for eric < 18.08
+            uiLayoutType = self.__ui.layoutType
+        
+        if uiLayoutType == "Toolboxes":
             self.__ui.hToolboxDock.show()
             self.__ui.hToolboxDock.setCurrentWidget(self.__widget)
-        elif self.__ui.layout == "Sidebars":
+        elif uiLayoutType == "Sidebars":
             self.__ui.bottomSidebar.show()
             self.__ui.bottomSidebar.setCurrentWidget(self.__widget)
         else:

eric ide

mercurial