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=/branches/gtk-2-10/; revision=17699
This commit is contained in:
Matthias Clasen
2007-04-29 06:35:33 +00:00
committed by Matthias Clasen
parent 3098de7054
commit c80541a3e4
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,11 @@
2007-04-29 Matthias Clasen <mclasen@redhat.com>
Merge from trunk:
* 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>
Merge from trunk:

View File

@@ -2063,7 +2063,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;