Re: [gedit-list] First pass hack of gedit and gtksourceview port to gtkprintoperation
- From: "John (J5) Palmieri" <johnp redhat com>
- To: Paolo Maggi <paolo maggi polito it>
- Cc: gedit-list gnome org, gtk-devel-list gnome org, Alexander Larsson <alexl redhat com>
- Subject: Re: [gedit-list] First pass hack of gedit and gtksourceview port to gtkprintoperation
- Date: Mon, 08 May 2006 13:38:32 -0400
On Wed, 2006-05-03 at 14:27 +0200, Paolo Maggi wrote:
> > > 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>
] [Thread Prev