1. 05 Dec, 2009 2 commits
  2. 01 Dec, 2009 6 commits
  3. 30 Nov, 2009 1 commit
  4. 26 Oct, 2009 1 commit
    • Marek Kasik's avatar
      Show correct print preview · 6b5912a2
      Marek Kasik authored
      Modify print preview according to settings from print dialog.
      Similar approach as during real print is applied to the preview
      process (#592582).
  5. 30 Sep, 2009 1 commit
  6. 30 Aug, 2009 1 commit
  7. 10 Jul, 2009 1 commit
    • Marek Kasik's avatar
      Add paper size combo and orientation combo to print dialog · 0ef74c93
      Marek Kasik authored
      Paper size combo and orientation combo can be added by
      gtk_print_operation_set_embed_page_setup_dialog() to GtkPrinUnixDialog
      now. This function induce calling of
      gtk_print_unix_dailog_set_embed_page_setup_dialog() after creation of
      dialog. These two functions control embed-page-setup-dialog properties
      in GtkPrintOperation and in GtkPrintUnixDialog.
      There is also new function gtk_print_unix_dialog_get_page_setup_set()
      which says whether page setup was set by user.
      Selected page setup is stored as default page setup in
      New class is added, its name is GtkCustomPaperUnixDialog. The class
      manages custom sizes. It is derived from GtkPageSetupUnixDialog's
      CustomPaperDialog structure.
      Page layout preview is modified, so, it shows dimensions of current
      page setup (mm or inch - depends on locale). It also shows the name of
      actual paper if page setup dialog is not embedded (paper size combo is
      not visible).
      gtk-demo is actualized to include this new feature.
  8. 08 Jun, 2009 1 commit
    • Marek Kasik's avatar
      Add ability to print selection · a12a583c
      Marek Kasik authored
      Add a new radio button "Selection" to the print dialog. Its presence
      depends on calling of functions gtk_print_operation_set_support_selection()
      and gtk_print_dialog_unix_set_support_selection().
      Sensitivity of the radio depends on calling of
      functions gtk_print_operation_set_has_selection() and
      There are new properties GtkPrintUnixDialog::support-selection,
      GtkPrintUnixDialog::has-selection, GtkPrintOperation::support-selection
      and GtkPrintOperation::has-selection. Corresponding getters are
      gtk_print_operation_get_support_selection() and
      Application has to set number of pages to which the selection will be formated
      in GtkPrintOperation::begin-print's callback by the
      gtk_print_operation_set_n_pages() function (bug #344519).
      There is also new property GtkPrintUnixDialog::manual-capabilities controled by
      gtk_print_unix_dialog_set_manual_capabilities() and
  9. 13 May, 2009 1 commit
    • Marek Kasik's avatar
      Add ability to print in number-up mode for file backend and lpr backend · 91190ce2
      Marek Kasik authored
      GtkPrintOperation is now able to render multiple pages per sheet by its
      own. The most important changes are in these functions:
        * increment_page_sequence
        * prepare_data
        * common_render_page
        * print_pages_idle
      Patch also changes set of choices for 2 pages per sheet mode when
      landscape orientation is used to "Top to bottom" and "Bottom to top".
  10. 21 Apr, 2009 1 commit
  11. 10 Apr, 2009 2 commits
  12. 16 Oct, 2008 1 commit
  13. 01 Jul, 2008 2 commits
    • Cody Russell's avatar
      Revert name change · 57223c9a
      Cody Russell authored
      svn path=/trunk/; revision=20724
    • Matthias Clasen's avatar
      Handle failure to create temp file by returning NULL. · a7abdcf8
      Matthias Clasen authored
              * gtk/gtkprintoperation-unix.c
              Handle failure to create temp file by returning NULL.
              * gtk/gtkprintoperation.c (gtk_print_operation_preview_handler):
              Return FALSE if surface creation fails.
              (print_pages): If the preiew signal is not handled, show an
              error dialog.
      svn path=/trunk/; revision=20715
  14. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
              * Practically everything changed.
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      svn path=/trunk/; revision=20709
  15. 16 Jun, 2008 1 commit
  16. 21 May, 2008 1 commit
    • Matthias Clasen's avatar
      RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size · 59ae44d0
      Matthias Clasen authored
              was chosen
              Patch by Marek Kasik.
              * gtk/gtk.symbols:
              * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
              * gtk/gtkprintbackend.[hc]: Add fallback implementation.
              * modules/printbackends/file/gtkprintbackendfile.c:
              * modules/printbackends/cups/gtkprintbackendcups.c: Implement
              * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
              select its default paper size.
              * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
              use the printer default.
              * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
              if we don't have a default page setup.
      svn path=/trunk/; revision=20120
  17. 25 May, 2007 1 commit
  18. 29 Apr, 2007 3 commits
  19. 22 Mar, 2007 1 commit
  20. 10 Mar, 2007 1 commit
  21. 31 Dec, 2006 1 commit
    • Matthias Clasen's avatar
      Move a few settings to gtksettings.c to make sure they show up in the · 7979cd6a
      Matthias Clasen authored
      2006-12-30  Matthias Clasen  <mclasen@redhat.com>
              * gtk/gtkprintoperation-unix.c:
              * gtk/gtkprintbackend.c:
              * gtk/gtkfilechooserdefault.c:
              * gtk/gtksettings.c: Move a few settings to gtksettings.c
              to make sure they show up in the docs.  (#365364, Christian
      svn path=/trunk/; revision=16992
  22. 22 Dec, 2006 1 commit
  23. 10 Sep, 2006 1 commit
  24. 31 Aug, 2006 1 commit
  25. 10 Jul, 2006 1 commit
  26. 30 Jun, 2006 1 commit
  27. 21 Jun, 2006 1 commit
    • Matthias Clasen's avatar
      Apply a patch by John Palmieri to use buffered io using GIOChannels, clean · be8f3c72
      Matthias Clasen authored
      2006-06-21  Matthias Clasen  <mclasen@redhat.com>
      	Apply a patch by John Palmieri to use buffered io using
      	GIOChannels, clean up error handling and support Cups 1.2
      	api in the printing code.
      	* acconfig.h:
      	* configure.in: Detect Cups 1.2
      	* gtk/gtkdebug.h:
      	* gtk/gtkmain.c: Add a printing debug key.
      	* gtk/gtkprintbackend.[hc]: Remove the GError parameter from
      	gtk_print_backend_print_stream, and take a  GIOChannel instead
      	of an fd.
      	* gtk/gtkprinter-private.h:
      	* gtk/gtkprinter.c: Replace the fd parameter of
      	_gtk_printer_create_cairo_surface by a GIOChannel.
      	* gtk/gtkprintjob.[hc]: Remove the GError parameter from
      	gtk_print_job_send and make it return void.
      	* gtk/gtkprintoperation-unix.c:
      	* gtk/gtkprintjob.c: Adjust callers, add some debugging support.
      	* modules/printbackends/Makefile.am: Fix DIST_SUBDIRS.
      	* modules/printbackends/cups/Makefile.am:
      	* modules/printbackends/lpr/Makefile.am: Add debug CFLAGS.
      	* modules/printbackends/cups/gtkcupsutils.[hc]:
      	* modules/printbackends/cups/gtkprintbackendcups.c:
      	* modules/printbackends/file/gtkprintbackendfile.c:
      	* modules/printbackends/lpr/gtkprintbackendfile.c: Adapt to
      	the GIOChannel and GError changes, add debug output
  28. 19 Jun, 2006 1 commit
  29. 16 Jun, 2006 2 commits
    • Matthias Clasen's avatar
      Require cvs glib. · 92bbb2fe
      Matthias Clasen authored
      2006-06-16  Matthias Clasen  <mclasen@redhat.com>
      	* configure.in: Require cvs glib.
      	* gtk/gtkprintoperation-unix.c:
      	Don't use a temporary directory for preview files, since it
      	is not clear who cleans it up. Instead, use g_mkstemp() directly
      	to create a temp pdf file, and make the preview app responsible
      	for cleaning it up.
    • Matthias Clasen's avatar
      Move the registration of the gtk-print-preview-command setting from · 0b05edb0
      Matthias Clasen authored
      2006-06-16  Matthias Clasen  <mclasen@redhat.com>
      	* gtk/gtkprintoperation-unix.c:
      	* gtk/gtkprintbackend.c: Move the registration of the
      	gtk-print-preview-command setting from gtkprintbackend.c to
      	gtkprintoperation-unix.c, to make sure it is registered before
      	the first use. Also, document the two settings.