Skip to content

/ Zope / gocept svn checkins / Archive / 2007 / 2007-12 / SVN: r5465 - Formulon/trunk

[ << ] [ >> ]

[ SVN: r5456 - gocept.countrywidget/trunk/src/gocept... ] [ SVN: r5468 - gocept.mochikit/tags/1.3.1 / ... ]

SVN: r5465 - Formulon/trunk
Michael Howitz <mh(at)gocept.com>
2007-12-07 10:54:10 [ FULL ]
Author: mac
Date: Fri Dec  7 10:54:07 2007
New Revision: 5465

Log:
preparing release 0.4.4


Modified:
   Formulon/trunk/version.txt

Modified: Formulon/trunk/version.txt
==============================================================================
--- Formulon/trunk/version.txt	(original)
+++ Formulon/trunk/version.txt	Fri Dec  7 10:54:07 2007
(at)(at) -1 +1 (at)(at)
-0.4.3
+0.4.4

SVN: r5466 - Formulon/tags/0.4.4
Michael Howitz <mh(at)gocept.com>
2007-12-07 10:54:52 [ FULL ]
Author: mac
Date: Fri Dec  7 10:54:50 2007
New Revision: 5466

Log:
releasing 0.4.4



Added:
   Formulon/tags/0.4.4/
      - copied from r5465, Formulon/trunk/

SVN: r5503 - gtimelog/trunk
Sebastian Wehrmann <sw(at)gocept.com>
2007-12-21 13:34:23 [ FULL ]
Author: sweh
Date: Fri Dec 21 13:34:21 2007
New Revision: 5503

Log:
- added argument "--start-hidden":
    - gtimelog will start minimized to system tray if called with that 
      argument (e.g. python gtimelog.py --start-hidden)



Modified:
   gtimelog/trunk/gtimelog.py

Modified: gtimelog/trunk/gtimelog.py
==============================================================================
--- gtimelog/trunk/gtimelog.py	(original)
+++ gtimelog/trunk/gtimelog.py	Fri Dec 21 13:34:21 2007
(at)(at) -9,6 +9,8 (at)(at)
 import urllib
 import datetime
 import tempfile
+import sys
+import getopt
 import ConfigParser
 
 import pygtk
(at)(at) -1268,8 +1270,10 (at)(at)
         return True
 
 
-def main():
+def main(argv=None):
     """Run the program."""
+    if argv is None:
+        argv = sys.argv
     configdir = os.path.expanduser('~/.gtimelog')
     try:
         os.makedirs(configdir) # create it if it doesn't exist
(at)(at) -1291,6 +1295,9 (at)(at)
     else:
         tasks = TaskList(os.path.join(configdir, 'tasks.txt'))
     main_window = MainWindow(timelog, settings, tasks)
+    # start gtimelog hidden to tray
+    if "--start-hidden" in argv:
+        main_window.on_hide_activate("")
     tray_icon = TrayIcon(main_window)
     try:
         gtk.main()

MailBoxer