Hi rooters,
there are two very small modifications I would like to see in root (they
are not in the CVS currently):
1) the possibility to have the library path only for use with -Wl,-rpath
in root-config. maybe something like:
In config/root-config
@@ -320,6 +308,9 @@
else
echo "cannot read ${incdir}/RVersion.h"
fi
+ ;;
+ --rflags)
+ echo "-Wl,-rpath ${libdir}"
;;
--cflags)
if test ${incdir} != /usr/include; then
2) there is a fIniDir parameter passed to TGFileDialog which is not used.
A very simple patch could make it available:
In gui/src/TGFileDialog.cxx
@@ -133,7 +133,9 @@
fFc->SetFilter(fFileInfo->fFileTypes[1]);
fFc->Sort(kSortByType);
- fFc->ChangeDirectory(".");
+ if (fFileInfo->fIniDir==NULL)
+ fFc->ChangeDirectory(".");
+ else fFc->ChangeDirectory(fFileInfo->fIniDir);
fTreeLB->Update(fFc->GetDirectory());
fList->SetState(kButtonEngaged);
and in include/TGFileDialog.h
@@ -55,6 +55,8 @@
char *fFilename;
char *fIniDir;
char **fFileTypes;
+
+ TGFileInfo() {fIniDir=NULL;};
};
One could check the existence of the directory...
Cheers,
--
Xavier
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:43 MET