diff options
author | Morgan Collett <morgan.collett@gmail.com> | 2008-01-10 19:32:46 (GMT) |
---|---|---|
committer | Morgan Collett <morgan.collett@gmail.com> | 2008-01-10 19:32:46 (GMT) |
commit | 803205fc6185c1446e3303c67c030ae2102ae53d (patch) | |
tree | 8beb853fbff4b0966ddf0e5f32ec5f73ec155fc5 /poll.py | |
parent | 5462ad6631626ef94f3f7bd13e4acbf7fffd313b (diff) |
Amend copyright, add AUTHORS
Diffstat (limited to 'poll.py')
-rw-r--r-- | poll.py | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,4 +1,4 @@ -# Copyright 2007 World Wide Workshop +# Copyright 2007 World Wide Workshop Foundation # Copyright 2007 Collabora Ltd # # This program is free software; you can redistribute it and/or modify @@ -160,6 +160,16 @@ class PollBuilder(activity.Activity): self._logger = logging.getLogger('poll-activity') self._logger.debug('Starting Poll activity') + # customise theme + gtkrc = os.path.join(activity.bundle_path(), 'resources/gtkrc') + if os.path.exists(gtkrc): + self._logger.debug("Loading resources from %s" % gtkrc) + gtk.rc_add_default_file(gtkrc) + settings = gtk.settings_get_default() + gtk.rc_reparse_all_for_settings(settings, True) + self._logger.debug("Loading resources DONE") + # FIXME: test this ^^^ and remove other theme stuff + # get the Presence Service self.pservice = presenceservice.get_instance() self.initiating = False |