Re: [gedit-list] First pass hack of gedit and gtksourceview port to gtkprintoperation



On Wed, 2006-05-03 at 14:27 +0200, Paolo Maggi wrote:
> Hi,
> 
> > > The GtkPrintPaginator interface should emit three signals:
> > > 
> > > - begin_page (GtkPrintPaginator *p): emitted when starting to paginate a
> > > new page
> > > - finished (GtkPrintPaginator *p): emitted when pagination ends
> > > - canceled (GtkPrintPaginator *p): if pagination is canceled
> > 
> > It looks strange to me to have the paginator canceling. 
> 
> Why? User may want to cancel the pagination process by pressing Cancel
> in a progress dialog. 
> For example a couple of days ago I started printing a text document in
> gedit and when I saw that the document was about 1000 pages long, I
> canceled pagination and so I didn't waste a single sheet... so
> "pagination canceling saves the nature" :)

I actually like the progress popup in gedit and it buys us a progress
display in every app. 

> 
> > Surely its the
> > dialog showed by GtkPrintOperation that does the actual cancel? I guess
> > it might be useful if you do your own progress dialog.
> 
> I was thinking to add a "standard" progress dialog with a Cancel button
> but allow program specific progress dialogs too (see gedit).
> 
> > Yes, something like this should be quite workable. Would you be
> > interested in looking at implementing this?
> 
> I will try to implement my proposal in the week-end.

-- 
John (J5) Palmieri <johnp redhat com>




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