aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/Theme.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/FbTk/Theme.cc b/src/FbTk/Theme.cc
index 8ebab7d..3862a60 100644
--- a/src/FbTk/Theme.cc
+++ b/src/FbTk/Theme.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Theme.cc,v 1.14 2003/08/28 14:18:36 fluxgen Exp $ 22// $Id: Theme.cc,v 1.15 2003/08/28 15:12:36 fluxgen Exp $
23 23
24#include "Theme.hh" 24#include "Theme.hh"
25 25
@@ -30,7 +30,7 @@
30#include "App.hh" 30#include "App.hh"
31#include "Image.hh" 31#include "Image.hh"
32#include "PixmapWithMask.hh" 32#include "PixmapWithMask.hh"
33 33#include "StringUtil.hh"
34 34
35#include <cstdio> 35#include <cstdio>
36#include <memory> 36#include <memory>
@@ -227,8 +227,8 @@ bool ThemeManager::unregisterTheme(Theme &tm) {
227} 227}
228 228
229bool ThemeManager::load(const std::string &filename) { 229bool ThemeManager::load(const std::string &filename) {
230 230
231 if (!m_database.load(filename.c_str())) 231 if (!m_database.load(FbTk::StringUtil::expandFilename(filename).c_str()))
232 return false; 232 return false;
233 233
234 //get list and go throu all the resources and load them 234 //get list and go throu all the resources and load them