summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firstaidkit.spec1
-rw-r--r--frontend/frontend_gtk.py4
2 files changed, 3 insertions, 2 deletions
diff --git a/firstaidkit.spec b/firstaidkit.spec
index ede323f..cf57eff 100644
--- a/firstaidkit.spec
+++ b/firstaidkit.spec
@@ -115,6 +115,7 @@ This package contains the Gtk based FirstAidKit GUI
%prep
%setup -q
#generate the about file with version and license path
+echo "[about]" >> etc/firstaidkit/about
echo "version=%{version}" >> etc/firstaidkit/about
echo "copying=%{_docdir}/%{name}-%{version}/COPYING" >> etc/firstaidkit/about
diff --git a/frontend/frontend_gtk.py b/frontend/frontend_gtk.py
index 50527c6..dfd94cd 100644
--- a/frontend/frontend_gtk.py
+++ b/frontend/frontend_gtk.py
@@ -564,8 +564,8 @@ class AboutDialog(object):
try:
cfg = cfg.getConfigBits("about")
- version = cfg.DEFAULT.version
- license = cfg.DEFAULT.copying
+ version = cfg.about.version
+ license = cfg.about.copying
except:
version = "development"
license = os.path.join(os.path.dirname(dir), "COPYING")