summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreviño - 3v1n0 <trevi55@gmail.com>2007-06-13 16:13:55 +0200
committerTreviño - 3v1n0 <trevi55@gmail.com>2007-06-13 16:13:55 +0200
commitc14613d41f4aeeda046472970eaf2e1b8569b85e (patch)
tree5d81fc83319b3f9dbb892ca29487e7a0e6faa3a7
parente38b02ee21e8da45ff28011dba7c42659121dffe (diff)
downloadccsm-c14613d41f4aeeda046472970eaf2e1b8569b85e.tar.gz
ccsm-c14613d41f4aeeda046472970eaf2e1b8569b85e.tar.bz2
Set DataDir and IconDir; fixed main icon position
-rwxr-xr-xccsm.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/ccsm.in b/ccsm.in
index 941cd59..8ab7055 100755
--- a/ccsm.in
+++ b/ccsm.in
@@ -37,8 +37,9 @@ gdk = gtk.gdk
ccs = compizconfig
from xml.sax.saxutils import escape as EscapeMarkup
-
-PixmapDir = "@prefix@/share/ccsm/images"
+DataDir = "@prefix@/share"
+IconDir = DataDir+"icons/hicolor/scalable"
+PixmapDir = DataDir+"/ccsm/images"
CurrentScreenNum = 0
def Write(ctx):
@@ -1621,7 +1622,7 @@ class MainWinClass:
self.MainWin.set_default_size(960, 580)
self.MainWin.set_title("CompizConfig Settings Manager")
try:
- MainWindow.set_icon (gdk.pixbuf_new_from_file(DATADIR+"/icons/hicolor/scalable/apps/ccsm.svg"))
+ MainWindow.set_icon (gdk.pixbuf_new_from_file(IconDir+"/apps/ccsm.svg"))
except:
pass
# set up the Entry to get the BrightColor