summaryrefslogtreecommitdiff
path: root/kberylsettings/aboutpage.py
diff options
context:
space:
mode:
authornatural <natural>2007-01-01 05:36:07 +0000
committernatural <natural>2007-01-01 05:36:07 +0000
commit8100c625e1a8d63b3fc434d08dbffb5652a59e69 (patch)
tree2a35cfbd1051fb10b0d05aba4ed88421701d2cfb /kberylsettings/aboutpage.py
parentdd5381035a8a341b87d3836ea3e454eb999e9223 (diff)
downloadkberylsettings-8100c625e1a8d63b3fc434d08dbffb5652a59e69.tar.gz
kberylsettings-8100c625e1a8d63b3fc434d08dbffb5652a59e69.tar.bz2
Added tip of the day dialog, application key configuration dialog.
Removed basedir references in preference to KStandardDirs configuration. Moved about.py to aboutapp.py. Other small fixes and enhancements.
Diffstat (limited to 'kberylsettings/aboutpage.py')
-rw-r--r--kberylsettings/aboutpage.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/kberylsettings/aboutpage.py b/kberylsettings/aboutpage.py
index 648700e..1b3e585 100644
--- a/kberylsettings/aboutpage.py
+++ b/kberylsettings/aboutpage.py
@@ -10,7 +10,7 @@ from khtml import KHTMLPart
from pykdeconfig import _pkg_config
from kberylsettings.beryl import Setting
-from kberylsettings.lib import App, Signals, iconLoader
+from kberylsettings.lib import Signals, iconLoader
from kberylsettings.widget import Frame
@@ -96,12 +96,12 @@ class AboutPage(Frame):
@return None
"""
self.context = context
- htmlsrc = open(App.basedir + '/html/main.html').read()
+ htmlsrc = open(locate('templates', 'main.html')).read()
extracssurl = locate('data', 'kdeui/about/kde_infopage.css')
extracssurl = 'file://%s' % extracssurl
kcontrolcssurl = locate('data', 'kcontrol/about/kcontrol.css')
kcontrolcssurl = 'file://%s' % kcontrolcssurl
- logourl = 'file://%s' % App.basedir + '/html/beryl-manager.png'
+ logourl = 'file://%s' % locate('templates', 'beryl-manager.png')
if plugin is None:
title = i18n('KDE Beryl Settings')
shortdesc = i18n('Configure Your Beryl Settings')