Commits

Anonymous committed d8f8dbc

polishing

Comments (0)

Files changed (1)

 import gobject
 
 #Parameters
-MIN_WORK_TIME = 60 * 1 # min work time in seconds
-
+MIN_WORK_TIME = 60 * 10 # min work time in seconds
 
 class Pomodoro:
 
         else:
             if self.state == "WORKING":
                 self.icon.set_blinking(False)
-                self.icon.set_tooltip("Not good: worked only %s." % 
+                self.icon.set_tooltip("Not good: worked for only %s." % 
                         self.format_time(delta))
             elif self.state == "OK":
-                self.icon.set_tooltip("Good! worked %s." % 
+                self.icon.set_tooltip("Good! worked for %s." % 
                         self.format_time(delta))
             self.state="IDLE"
     def update(self):
         if self.state == "IDLE":
             pass
         else:
-            self.icon.set_tooltip("Working since %s..." % self.format_time(delta))
+            self.icon.set_tooltip("Working for %s..." % self.format_time(delta))
             if self.state == "WORKING":
                 if delta > MIN_WORK_TIME:
                     self.state = "OK"
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.