aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-28 15:12:36 (GMT)
committerfluxgen <fluxgen>2003-08-28 15:12:36 (GMT)
commit0a5cba1261a3ef6315f3c74d09a4439758b3ddf7 (patch)
tree59c5ac3e8347d0f50741a0120c714405cfc6a725
parent4a1fd349f82d9d7e5ae1d87e9b080e5c07419218 (diff)
downloadfluxbox_paul-0a5cba1261a3ef6315f3c74d09a4439758b3ddf7.zip
fluxbox_paul-0a5cba1261a3ef6315f3c74d09a4439758b3ddf7.tar.bz2
expand filename
-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