Added command line options

This commit is contained in:
ffsup2
2010-12-29 17:22:18 +01:00
parent 1c3739b628
commit 15b0860bbb
6 changed files with 391 additions and 114 deletions

View File

@@ -131,7 +131,7 @@ void FilePanel::init () {
dirBrowser->fillDirTree ();
placesBrowser->refreshPlacesList ();
if (argv1!="")
if (argv1!="" && safe_file_test (argv1, Glib::FILE_TEST_IS_DIR))
dirBrowser->open (argv1);
else {
if (options.startupDir==STARTUPDIR_HOME)