[sabayon] Use a 'session-widget' debug log domain for SessionWidget, instead of the toplevelish 'admin-tool'
- From: Federico Mena Quintero <federico src gnome org>
- To: svn-commits-list gnome org
- Subject: [sabayon] Use a 'session-widget' debug log domain for SessionWidget, instead of the toplevelish 'admin-tool'
- Date: Wed, 29 Jul 2009 01:01:35 +0000 (UTC)
commit 3fb42eebb2c87c939b484018503c8f6e32adf355
Author: Federico Mena Quintero <federico novell com>
Date: Tue Apr 28 18:46:50 2009 -0500
Use a 'session-widget' debug log domain for SessionWidget, instead of the toplevelish 'admin-tool'
Signed-off-by: Federico Mena Quintero <federico novell com>
admin-tool/sessionwidget.py | 2 +-
lib/debuglog.py | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/admin-tool/sessionwidget.py b/admin-tool/sessionwidget.py
index f045076..8b1f03f 100755
--- a/admin-tool/sessionwidget.py
+++ b/admin-tool/sessionwidget.py
@@ -24,7 +24,7 @@ import util
import debuglog
def dprint (fmt, *args):
- debuglog.debug_log (False, debuglog.DEBUG_LOG_DOMAIN_ADMIN_TOOL, fmt % args)
+ debuglog.debug_log (False, debuglog.DEBUG_LOG_DOMAIN_SESSION_WIDGET, fmt % args)
class SessionWidget (gtk.Widget):
# FIXME:
diff --git a/lib/debuglog.py b/lib/debuglog.py
index ac6d036..52a4824 100644
--- a/lib/debuglog.py
+++ b/lib/debuglog.py
@@ -27,6 +27,7 @@ DEBUG_LOG_DOMAIN_ADMIN_TOOL = "admin-tool"
DEBUG_LOG_DOMAIN_USER_DB = "user-db"
DEBUG_LOG_DOMAIN_CACHE = "cache"
DEBUG_LOG_DOMAIN_PESSULUS = "pessulus"
+DEBUG_LOG_DOMAIN_SESSION_WIDGET = "session-widget"
_debug_log_log = None
_debug_log_the_lock = threading.Lock ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]