dont expand filename here

This commit is contained in:
fluxgen 2004-05-03 21:37:38 +00:00
parent 9ab2f6e29b
commit e127dabae6

View file

@ -20,7 +20,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: StyleMenuItem.cc,v 1.1 2004/05/02 20:54:16 fluxgen Exp $ // $Id: StyleMenuItem.cc,v 1.2 2004/05/03 21:37:38 fluxgen Exp $
#include "StyleMenuItem.hh" #include "StyleMenuItem.hh"
@ -31,8 +31,7 @@
StyleMenuItem::StyleMenuItem(const std::string &label, const std::string &filename): StyleMenuItem::StyleMenuItem(const std::string &label, const std::string &filename):
FbTk::MenuItem(label.c_str()), FbTk::MenuItem(label.c_str()),
m_filename(FbTk::StringUtil:: m_filename(filename) {
expandFilename(filename)) {
// perform shell style ~ home directory expansion // perform shell style ~ home directory expansion
// and insert style // and insert style
FbTk::RefCount<FbTk::Command> FbTk::RefCount<FbTk::Command>