allow ~ in background pixmap path
This commit is contained in:
parent
c92942270a
commit
759ca9e6b5
2 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
(Format: Year/Month/Day)
|
(Format: Year/Month/Day)
|
||||||
Changes for 0.9.16:
|
Changes for 0.9.16:
|
||||||
*06/04/19:
|
*06/04/19:
|
||||||
|
* Allow ~ in "background" pixmap options (Simon + thanks_markt)
|
||||||
|
RootTheme.cc
|
||||||
* Windows keep relative position in ArrangeWindows (Mathias)
|
* Windows keep relative position in ArrangeWindows (Mathias)
|
||||||
WorkspaceCmd.cc
|
WorkspaceCmd.cc
|
||||||
* Made fbgm more pure bourne-compatibel (Mathias)
|
* Made fbgm more pure bourne-compatibel (Mathias)
|
||||||
|
|
|
@ -175,6 +175,7 @@ void RootTheme::reconfigTheme() {
|
||||||
// if background argument is a file then
|
// if background argument is a file then
|
||||||
// parse image options and call image setting
|
// parse image options and call image setting
|
||||||
// command specified in the resources
|
// command specified in the resources
|
||||||
|
filename = FbTk::StringUtil::expandFilename(filename);
|
||||||
if (FbTk::FileUtil::isRegularFile(filename.c_str())) {
|
if (FbTk::FileUtil::isRegularFile(filename.c_str())) {
|
||||||
// parse options
|
// parse options
|
||||||
std::string options;
|
std::string options;
|
||||||
|
|
Loading…
Reference in a new issue