aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-03-03 15:16:26 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-03-03 15:16:26 +0000
commit490653cd24092b8e3431a7d21b52a50829d7d577 (patch)
tree0e9995b4cb4cd9e1997d282bd6f33da9e6517b28 /src
parent0324cead2304a52a184a7c564e910cc061bd04a7 (diff)
downloadmsec-490653cd24092b8e3431a7d21b52a50829d7d577.tar
msec-490653cd24092b8e3431a7d21b52a50829d7d577.tar.gz
msec-490653cd24092b8e3431a7d21b52a50829d7d577.tar.bz2
msec-490653cd24092b8e3431a7d21b52a50829d7d577.tar.xz
msec-490653cd24092b8e3431a7d21b52a50829d7d577.zip
Added MSEC_DIR configuration variable.
Diffstat (limited to 'src')
-rw-r--r--src/msec/config.py1
-rwxr-xr-xsrc/msec/msecgui.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/msec/config.py b/src/msec/config.py
index 2582048..7d7fd12 100644
--- a/src/msec/config.py
+++ b/src/msec/config.py
@@ -46,6 +46,7 @@ MODIFICATIONS_FOUND = _('Modified system files')
MODIFICATIONS_NOT_FOUND = _('No changes in system files')
# plugins
+MSEC_DIR="/usr/share/msec"
MAIN_LIB="libmsec"
PLUGINS_DIR="/usr/share/msec/plugins"
diff --git a/src/msec/msecgui.py b/src/msec/msecgui.py
index bc0120e..4689100 100755
--- a/src/msec/msecgui.py
+++ b/src/msec/msecgui.py
@@ -187,7 +187,7 @@ class MsecGui:
try:
# logo
image = gtk.Image()
- pixbuf = gtk.gdk.pixbuf_new_from_file(BANNER)
+ pixbuf = gtk.gdk.pixbuf_new_from_file("%s/%s" % (config.MSEC_DIR, BANNER))
image.set_from_pixbuf(pixbuf)
banner.pack_start(image, False, False)
label = gtk.Label(_("MSEC: System Security and Audit"))