Nickolay V. Shmyrev | 9 Nov 2005 21:30
Picon
Favicon

New API questions

Hello all.

I've started some work on evince printing and the following questions
appeared, let me ask them in one mail since they all are related.

1. First of all, about old API, we have request from users to make
printing of current page easily available. There is possibility to add 
corresponding radio button in old API, but it's completely unusable.
Just because when you add current entry, it became selected by default,
and that is certainly not what user expects. By default all pages radio
should be selected. Unfortunately there is no way to change this value,
so I propose the attached patch.

2. Second problem that attached patch should solve is that with new API
passing GNOME_PRINT_DIALOG_RANGE to gnome_print_dialog_new creates two
(old and new) frames with the same label "Print range". Moreover, flags
don't manage visible controls on "Job" page. Proposed patch should make
situation clearer - setting "flags" property will hide or show needed
range control for both old and new API.

3. Third. We had requests to print pages in reverse order. In older view
it was possible with "From ... to ..." entry by passing bigger page in
first spinner and smaller one in second. Now I see this control was
removed in CVS. Do you have any plans to implement such functionality.

4. Generic one - I see new printing ui API is much different from older
one and probably won't satisfy our needs. And it looks unfinished a bit.
Is there any plan for future API already or it's in development stage?
Some of our needs are listed below.

(Continue reading)

Lutz Müller | 10 Nov 2005 08:27
Picon

Re: New API questions

On Wed, 2005-11-09 at 23:30 +0300, Nickolay V. Shmyrev wrote:
> 1. First of all, about old API, we have request from users to make
> printing of current page easily available. There is possibility to add 
> corresponding radio button in old API, but it's completely unusable.
> Just because when you add current entry, it became selected by default,
> and that is certainly not what user expects. By default all pages radio
> should be selected. Unfortunately there is no way to change this value,
> so I propose the attached patch.

Looks good. I'll verify it and check it in.

> 2. Second problem that attached patch should solve is that with new API
> passing GNOME_PRINT_DIALOG_RANGE to gnome_print_dialog_new creates two
> (old and new) frames with the same label "Print range". Moreover, flags
> don't manage visible controls on "Job" page. Proposed patch should make
> situation clearer - setting "flags" property will hide or show needed
> range control for both old and new API.

Thanks for sorting this out.

> 3. Third. We had requests to print pages in reverse order. In older view
> it was possible with "From ... to ..." entry by passing bigger page in
> first spinner and smaller one in second. Now I see this control was
> removed in CVS. Do you have any plans to implement such functionality.
> 
> 4. Generic one - I see new printing ui API is much different from older
> one and probably won't satisfy our needs. And it looks unfinished a bit.
> Is there any plan for future API already or it's in development stage?
> Some of our needs are listed below.

(Continue reading)


Gmane