Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > e282967de0c0b7006de2e9383d42e1e6 > files > 2

libyui-qt-2.42.3-0.git20121227.4.mga3.src.rpm

diff --git a/ChangeLog b/ChangeLog
index 81fbb72..616d56b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Fri Jan 18 15:19:26 CET 2013 - anaselli@linux.it
+
+- fixed to use new YSettings, theme path can be set by program 
+
+-------------------------------------------------------------------
 Mon Dec 17 11:51:33 CET 2012 - tgoettlicher@suse.de
 
 - fixed bnc #793893: storage graph in yast missing
diff --git a/VERSION.cmake b/VERSION.cmake
index 4881db3..8fb111e 100644
--- a/VERSION.cmake
+++ b/VERSION.cmake
@@ -1,6 +1,6 @@
 SET(VERSION_MAJOR "2")
 SET(VERSION_MINOR "42")
-SET(VERSION_PATCH "3")
+SET(VERSION_PATCH "4")
 SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${GIT_SHA1_VERSION}" )
 
 ##### This is need for the libyui core, ONLY.
diff --git a/src/QY2Styler.cc b/src/QY2Styler.cc
index 4084f1c..7f69de7 100644
--- a/src/QY2Styler.cc
+++ b/src/QY2Styler.cc
@@ -27,6 +27,7 @@
 #include <yui/YUILog.h>
 #include <yui/YUIException.h>
 #include <yui/Libyui_config.h>
+#include <YSettings.h>
 
 #include "QY2Styler.h"
 #include <QDebug>
@@ -174,8 +175,8 @@ void QY2Styler::processUrls( QString & text )
 
 QString
 QY2Styler::themeDir() const
-{
-    return THEMEDIR "/current/wizard/";
+{   
+  return QString(YSettings::getThemeDir().c_str());
 }