Re: [patch] allow printing and view-source for read-only files (bugs 3909, 3943)

2007-07-02 Thread José Matos
On Monday 02 July 2007 12:02:32 Abdelrazak Younes wrote: > > OK then. +1 > Abdel. -- José Abílio

Re: [patch] allow printing and view-source for read-only files (bugs 3909, 3943)

2007-07-02 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: I think it would be less confusing to have one test per controller and so integrate the kernel().isBufferReadonly() call to canApplyToReadOnly(). I don't think so. These two conditions might be used independent from each other. OK then. Ab

Re: [patch] allow printing and view-source for read-only files (bugs 3909, 3943)

2007-07-02 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > I think it would be less confusing to have one test per controller and > so integrate the kernel().isBufferReadonly() call to > canApplyToReadOnly(). I don't think so. These two conditions might be used independent from each other. Jürgen

Re: [patch] allow printing and view-source for read-only files (bugs 3909, 3943)

2007-07-02 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: http://bugzilla.lyx.org/show_bug.cgi?id=3909 http://bugzilla.lyx.org/show_bug.cgi?id=3943 Printing and view-source of read-only files (such as the documentation of an installed LyX) is disallowed, since we block the passing of params and viewing restrictively for read

[patch] allow printing and view-source for read-only files (bugs 3909, 3943)

2007-07-01 Thread Jürgen Spitzmüller
http://bugzilla.lyx.org/show_bug.cgi?id=3909 http://bugzilla.lyx.org/show_bug.cgi?id=3943 Printing and view-source of read-only files (such as the documentation of an installed LyX) is disallowed, since we block the passing of params and viewing restrictively for read-only buffers (if kernel().i