#172 Minor tweaks to allow 2 startdirs

closed
nobody
None
5
2013-02-09
2012-10-30
miven
No

Main.cpp, XFileExplorer.cpp and XFileExplorer.h
need only minor tweaks to allow command line startup
with 2 startdirs, eg:

xfe -m -p2 ~/bin ~/src

works for me now. Left panel is ~/bin, right panel is ~/src
right at startup. I like it.

The side effect is that if you only specify1 directory,
it comes up in the left panel instead of both,
and the right panel is cwd. I don't mind, it's the behavior
I'd expect anyway. It's but a minor tweak to the tweak
in main() to change that, reverse it, or make both panels
the same.

I'd post the diffs, but my source code is currently mondo fugly
with all my hacking over the past week. Maybe later when I
clean up the mess.

Discussion

  • Roland Baudin
    Roland Baudin
    2013-02-09

    • status: open --> closed
     
  • Roland Baudin
    Roland Baudin
    2013-02-09

    This has been done in Xfe 1.34.
    Thanks,
    RB