diff options
author | Huang Peng <shawn.p.huang@gmail.com> | 2008-07-28 11:45:16 +0800 |
---|---|---|
committer | Huang Peng <shawn.p.huang@gmail.com> | 2008-07-28 11:45:16 +0800 |
commit | 400cf58d6af004333172c8a9699438f1c7201b5f (patch) | |
tree | 05254f31ee55fd4175b16dbb6156a4c64e21e6a6 | |
parent | 4ae2941be4132110f30473c938ef04a25b4adaf1 (diff) | |
download | ibus-400cf58d6af004333172c8a9699438f1c7201b5f.tar.gz ibus-400cf58d6af004333172c8a9699438f1c7201b5f.tar.xz ibus-400cf58d6af004333172c8a9699438f1c7201b5f.zip |
Add header.
-rw-r--r-- | gconf/config.py | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/gconf/config.py b/gconf/config.py index d0bc82c..4c0ec8c 100644 --- a/gconf/config.py +++ b/gconf/config.py @@ -1,10 +1,31 @@ +# vim:set et sts=4 sw=4: +# +# ibus - The Input Bus +# +# Copyright(c) 2007-2008 Huang Peng <shawn.p.huang@gmail.com> +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2 of the License, or(at your option) any later version. +# +# This library 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 Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the +# Free Software Foundation, Inc., 59 Temple Place, Suite 330, +# Boston, MA 02111-1307 USA + import gconf import ibus from ibus import interface class Config(ibus.Object): def __init__ (self, conn, path): - super(Config, self).__init__() + super(Config, self).__init__() self.__proxy = ConfigProxy(self, conn, path) self.__client = gconf.Client() self.__client.connect("value-changed", self.__value_changed_cb) @@ -31,7 +52,7 @@ class Config(ibus.Object): class ConfigProxy(interface.IConfig): def __init__ (self, config, conn, object_path): - super(ConfigProxy, self).__init__(conn, object_path) + super(ConfigProxy, self).__init__(conn, object_path) self.__config = config def GetString(self, key): |