diff --git a/common/hub.py b/common/hub.py index 843b6a442..d70ed82eb 100644 --- a/common/hub.py +++ b/common/hub.py @@ -4,7 +4,7 @@ ## Gajim Team: ## - Yann Le Boulanger ## - Vincent Hanquez -## - David Ferlier +## - David Ferlier ## ## Copyright (C) 2003 Gajim Team ## diff --git a/common/optparser.py b/common/optparser.py index 6bdda65e0..af9edfcfc 100644 --- a/common/optparser.py +++ b/common/optparser.py @@ -4,7 +4,7 @@ ## Gajim Team: ## - Yann Le Boulanger ## - Vincent Hanquez -## - David Ferlier +## - David Ferlier ## ## Copyright (C) 2003 Gajim Team ## diff --git a/common/plugin.py b/common/plugin.py index c1aad711f..f4b4ad212 100644 --- a/common/plugin.py +++ b/common/plugin.py @@ -4,7 +4,7 @@ ## Gajim Team: ## - Yann Le Boulanger ## - Vincent Hanquez -## - David Ferlier +## - David Ferlier ## ## Copyright (C) 2003 Gajim Team ## diff --git a/common/thread.py b/common/thread.py index 5da21e14a..c296c41f1 100644 --- a/common/thread.py +++ b/common/thread.py @@ -4,7 +4,7 @@ ## Gajim Team: ## - Yann Le Boulanger ## - Vincent Hanquez -## - David Ferlier +## - David Ferlier ## ## Copyright (C) 2003 Gajim Team ## diff --git a/core/core.py b/core/core.py index 43109291a..7b5003c4b 100644 --- a/core/core.py +++ b/core/core.py @@ -4,7 +4,7 @@ ## Gajim Team: ## - Yann Le Boulanger ## - Vincent Hanquez -## - David Ferlier +## - David Ferlier ## ## Copyright (C) 2003 Gajim Team ## @@ -21,6 +21,7 @@ import Queue import socket import sys +import os import time import logging @@ -31,7 +32,11 @@ import common.optparser log = logging.getLogger('core.core') log.setLevel(logging.DEBUG) -CONFPATH = ".gajimrc" +if 'HOME' in os.environ: + home = os.environ['HOME'] +elif os.name == 'posix': + home = os.path.expanduser("~/") +CONFPATH = os.path.join(home,".gajimrc") class GajimCore: def __init__(self): diff --git a/plugins/gtkgui.py b/plugins/gtkgui.py index 7c0f3ce99..37325a31c 100644 --- a/plugins/gtkgui.py +++ b/plugins/gtkgui.py @@ -4,7 +4,7 @@ ## Gajim Team: ## - Yann Le Boulanger ## - Vincent Hanquez -## - David Ferlier +## - David Ferlier ## ## Copyright (C) 2003 Gajim Team ## @@ -225,7 +225,7 @@ class roster: self.optionmenu = self.xml.get_widget('optionmenu') self.optionmenu.set_history(6) self.tab_messages = {} - self.showOffline=1 + self.showOffline=0 #colonnes self.col = gtk.TreeViewColumn() diff --git a/runCore.py b/runCore.py index 143948793..658e22657 100644 --- a/runCore.py +++ b/runCore.py @@ -2,9 +2,9 @@ ## runCore.py ## ## Gajim Team: -## - Yann Le Boulanger -## - Vincent Hanquez -## - David Ferlier +## - Yann Le Boulanger +## - Vincent Hanquez +## - David Ferlier ## ## Copyright (C) 2003 Gajim Team ##