From: Ed Page Date: Wed, 29 Dec 2010 03:40:33 +0000 (-0600) Subject: Pulling in changes from skeleton X-Git-Url: https://vcs.maemo.org/git/?p=multilist;a=commitdiff_plain;h=49d770ab2701b668c4bce950d289eefa2f79e70f Pulling in changes from skeleton --- diff --git a/src/__init__.py b/src/__init__.py old mode 100755 new mode 100644 index d34b733..4265cc3 --- a/src/__init__.py +++ b/src/__init__.py @@ -1,21 +1 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- - -""" -This file is part of Multilist. - -Multilist is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -Multilist is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with Multilist. If not, see . - -Copyright (C) 2008 Christoph Würstle -""" diff --git a/src/constants.py b/src/constants.py index 79ea779..eaa4bdf 100644 --- a/src/constants.py +++ b/src/constants.py @@ -4,7 +4,7 @@ __pretty_app_name__ = "Multilist" __app_name__ = "multilist" __version__ = "0.3.13" __build__ = 0 -_data_path_ = os.path.join(os.path.expanduser("~"), ".multilist") __app_magic__ = 0xdeadbeef +_data_path_ = os.path.join(os.path.expanduser("~"), ".%s" % __app_name__) _user_settings_ = "%s/settings.ini" % _data_path_ -_user_logpath_ = "%s/multilist.log" % _data_path_ +_user_logpath_ = "%s/%s.log" % (_data_path_, __app_name__) diff --git a/src/gtk_toolbox.py b/src/gtk_toolbox.py index b81d444..784c871 100644 --- a/src/gtk_toolbox.py +++ b/src/gtk_toolbox.py @@ -17,7 +17,7 @@ import gobject import gtk -_moduleLogger = logging.getLogger("gtk_toolbox") +_moduleLogger = logging.getLogger(__name__) def get_screen_orientation():