[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Open Office] [Fwd: Re: OOo opens several windows when opening a single document]



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Jerome Warnier wrote:
> And? Where can I get it?

The trick is to remove the -writer etc. from the command line when
a file is specified.


if ($0 =~ m/\/oo(calc|draw|impress|math|writer)$BinSuffix$/) {
    my $app = $1;
    if (!@ooo_argv) {
        push @ooo_argv, "-$app";
        $Debug && print "Append arg: -$app\n";
    } else {
        $Debug && print "Ignoring type - since have filenames\n";
    }
}

looks like it does this.

Now to get it ported to the Debian wrapper... :)

Grüße/Regards,

René
- -- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73
      
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAqkSM+FmQsCSK63MRAvBZAJ9Ab2/HihgjABkyNlXcXZRDvljtQgCdEn0N
QblnxfPeXdV/A7kYrmbaFpo=
=nYhi
-----END PGP SIGNATURE-----



Reply to: