Also check the default handler when deciding whether to emit the paginate
2007-04-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprintoperation.c (print_pages_idle): Also check the default handler when deciding whether to emit the paginate signal. (#345345, Yevgen Muntyan) svn path=/trunk/; revision=17698
This commit is contained in:
committed by
Matthias Clasen
parent
3c5bd522b3
commit
557ff70925
@@ -1,3 +1,9 @@
|
||||
2007-04-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkprintoperation.c (print_pages_idle): Also check
|
||||
the default handler when deciding whether to emit the
|
||||
paginate signal. (#345345, Yevgen Muntyan)
|
||||
|
||||
2007-04-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkprintoperation.h: Add a new error code
|
||||
|
||||
@@ -2050,7 +2050,8 @@ print_pages_idle (gpointer user_data)
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (g_signal_has_handler_pending (data->op, signals[PAGINATE], 0, FALSE))
|
||||
if (GTK_PRINT_OPERATION_GET_CLASS (data->op)->paginage != NULL ||
|
||||
g_signal_has_handler_pending (data->op, signals[PAGINATE], 0, FALSE))
|
||||
{
|
||||
gboolean paginated = FALSE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user