[gnome-system-monitor] Fix the location of gnome-version.xml



commit e3a1fc3b6adbb5416d6e765cc527a743202d2f02
Author: Kalev Lember <kalev smartlink ee>
Date:   Fri Mar 18 12:34:48 2011 +0200

    Fix the location of gnome-version.xml
    
    Latest gnome-desktop 3.0 installs gnome-version.xml in DATADIR/gnome/.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=645123

 src/sysinfo.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/sysinfo.cpp b/src/sysinfo.cpp
index 20c94b0..6d0116d 100644
--- a/src/sysinfo.cpp
+++ b/src/sysinfo.cpp
@@ -173,7 +173,7 @@ namespace {
 				"string(/gnome-version/micro)" };
       string values[3];
 
-      if (not (document = xmlParseFile(DATADIR "/gnome-about/gnome-version.xml")))
+      if (not (document = xmlParseFile(DATADIR "/gnome/gnome-version.xml")))
 	return;
 
       if (not (context = xmlXPathNewContext(document)))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]