summaryrefslogtreecommitdiff
path: root/kberylsettings/aboutapp.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/aboutapp.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/aboutapp.py')
-rw-r--r--kberylsettings/aboutapp.py39
1 files changed, 39 insertions, 0 deletions
diff --git a/kberylsettings/aboutapp.py b/kberylsettings/aboutapp.py
new file mode 100644
index 0000000..0940395
--- /dev/null
+++ b/kberylsettings/aboutapp.py
@@ -0,0 +1,39 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+""" kberylsettings.about -> defines KAboutData and attributes for the package.
+
+See the 'about' function below.
+"""
+from kdecore import KAboutData
+
+
+appName = 'kberylsetttings'
+progName = 'KDE Beryl Setttings'
+authorName = 'Troy Melhase'
+authorEmail = bugsEmailAddress = 'troy@gci.net'
+version = '0.1'
+shortDescription = 'KDE Beryl Settings'
+licenseType = KAboutData.License_GPL_V2
+copyrightStatement = '(c) 2006, %s' % (authorName, )
+homePageAddress = \
+ 'http://bugs.beryl-project.org/trac/browser/branches/kberylsettings/'
+aboutText = ("The Beryl Settings Manager for KDE.")
+
+
+def about():
+ """ returns an instance of KAboutData for this application
+
+ @return KAboutData instance
+ """
+ data = KAboutData(
+ appName,
+ progName,
+ version,
+ shortDescription,
+ licenseType,
+ copyrightStatement,
+ aboutText,
+ homePageAddress,
+ bugsEmailAddress)
+ data.addAuthor(authorName, '', authorEmail)
+ return data