FIX hard coded conf url

This commit is contained in:
Pierre-Selim Huard
2005-08-13 21:34:13 +00:00
parent baf3ef8a40
commit 698d642faa
@@ -124,7 +124,7 @@ sub parse_config {
my ($self) = @_;
my $parser = XML::DOM::Parser->new();
print "Parsing gui.xml\n";
my $doc = $parser->parsefile("/home/drac/paparazzi2/conf/gui.xml");
my $doc = $parser->parsefile($paparazzi_home."/conf/gui.xml");
my $strip = $doc->getElementsByTagName('strip')->[0];
$self->{options}->{normal_font} = $strip->getAttribute('normal_font');
$self->{options}->{small_font} = $strip->getAttribute('small_font');