[billreminder commit] r609 - trunk/src/daemon

0 views
Skip to first unread message

codesite...@google.com

unread,
Jul 18, 2008, 3:02:24 PM7/18/08
to billremi...@googlegroups.com
Author: og.maciel
Date: Fri Jul 18 12:01:28 2008
New Revision: 609

Modified:
trunk/src/daemon/Changelog
trunk/src/daemon/alarm.py
trunk/src/daemon/main.py

Log:
Trying to fix the dbus issue

Modified: trunk/src/daemon/Changelog
==============================================================================
--- trunk/src/daemon/Changelog (original)
+++ trunk/src/daemon/Changelog Fri Jul 18 12:01:28 2008
@@ -1,7 +1,14 @@
+2008-07-18 Og Maciel <ogma...@gnome.org>
+
+ * main.py: Don't fork for now... let billreminderd run on one
process for now.
+ * alarm.py: Get configuration values before calling methods that
make use of them.
+ ref http://code.google.com/p/billreminder/issues/detail?id=15
+
2008-07-15 Og Maciel <ogma...@gnome.org>

* alarm.py: Do not translate time format and leave it up to locale.
ref http://code.google.com/p/billreminder/issues/detail?id=12
+
2008-07-10 Og Maciel <ogma...@gnome.org>

* alarm.py: Make use of gconf values

Modified: trunk/src/daemon/alarm.py
==============================================================================
--- trunk/src/daemon/alarm.py (original)
+++ trunk/src/daemon/alarm.py Fri Jul 18 12:01:28 2008
@@ -30,8 +30,8 @@
self.tray_hints = {}
self.parent = parent
self.tray_hints = {}
- self.start()
self.gconf_client = gconf.client_get_default()
+ self.start()

def start(self):
start_delay = self.gconf_client.get_int(GCONF_PATH + 'delay')
* 60000

Modified: trunk/src/daemon/main.py
==============================================================================
--- trunk/src/daemon/main.py (original)
+++ trunk/src/daemon/main.py Fri Jul 18 12:01:28 2008
@@ -67,6 +67,7 @@
""" Make the program run like a daemon """
def __init__(self, options):
""" Detach process and run it as a daemon """
+ """
if not options.app_nodaemon:
# Fork first child
try:
@@ -93,6 +94,7 @@
raise SystemExit
# Redirect STDIN, STDOUT and STDERR
sys.stdin.close()
+ """
if options.app_verbose:
sys.stdout.write('\n')
sys.stdout = VerboseDevice(type_='stdout')

Reply all
Reply to author
Forward
0 new messages