aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-05-03 21:37:38 (GMT)
committerfluxgen <fluxgen>2004-05-03 21:37:38 (GMT)
commite127dabae691ee567aaedb84a2d7456c72991978 (patch)
tree9bf5b6b9bbb30d2fd556e4ef40e128568ca048d2
parent9ab2f6e29b69ef820d39499cb0408c24374b8b8a (diff)
downloadfluxbox-e127dabae691ee567aaedb84a2d7456c72991978.zip
fluxbox-e127dabae691ee567aaedb84a2d7456c72991978.tar.bz2
dont expand filename here
-rw-r--r--src/StyleMenuItem.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/StyleMenuItem.cc b/src/StyleMenuItem.cc
index c144e18..7e256e1 100644
--- a/src/StyleMenuItem.cc
+++ b/src/StyleMenuItem.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: StyleMenuItem.cc,v 1.1 2004/05/02 20:54:16 fluxgen Exp $ 23// $Id: StyleMenuItem.cc,v 1.2 2004/05/03 21:37:38 fluxgen Exp $
24 24
25#include "StyleMenuItem.hh" 25#include "StyleMenuItem.hh"
26 26
@@ -31,8 +31,7 @@
31 31
32StyleMenuItem::StyleMenuItem(const std::string &label, const std::string &filename): 32StyleMenuItem::StyleMenuItem(const std::string &label, const std::string &filename):
33 FbTk::MenuItem(label.c_str()), 33 FbTk::MenuItem(label.c_str()),
34 m_filename(FbTk::StringUtil:: 34 m_filename(filename) {
35 expandFilename(filename)) {
36 // perform shell style ~ home directory expansion 35 // perform shell style ~ home directory expansion
37 // and insert style 36 // and insert style
38 FbTk::RefCount<FbTk::Command> 37 FbTk::RefCount<FbTk::Command>