1. 27 Oct, 2009 1 commit
  2. 13 May, 2009 1 commit
    • Marek Kašík's avatar
      Add ability to print in number-up mode for file backend and lpr backend · 91190ce2
      Marek Kašík 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".
      91190ce2
  3. 17 Mar, 2009 1 commit
  4. 04 Aug, 2008 1 commit
  5. 02 Aug, 2008 3 commits
  6. 30 Jul, 2008 1 commit
    • Tor Lillqvist's avatar
      Fix problems in handling custom paper sizes. The DEVMODE::dmPaperWidth and · 29b6e658
      Tor Lillqvist authored
      2008-07-30  Tor Lillqvist  <tml@novell.com>
      
      	* gtk/gtkprintoperation-win32.c: Fix problems in handling custom
      	paper sizes. The DEVMODE::dmPaperWidth and dmPaperLength are in
      	tenths of a millimeter, and the RECT passed to CreateEnhMetaFile()
      	is in hundredths of a millimeter. Patch by Sven Neumann.
      
      
      svn path=/trunk/; revision=20916
      29b6e658
  7. 01 Jul, 2008 1 commit
  8. 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
      fce9c8b7
  9. 21 Jun, 2008 2 commits
    • Hans Breuer's avatar
      fix 'function' : incompatible types - from 'struct _cairo *' to 'struct · d3ce448c
      Hans Breuer authored
      2008-06-21  Hans Breuer  <hans@breuer.org>
      
      	* gtk/gtkprintoperation-win32.c(1713) : fix 'function' : incompatible 
      	types - from 'struct _cairo *' to 'struct _cairo_surface *' by
      	passing the surface to cairo_surface_show_page(), not the context
      	* gtk/gtkprintoperation-win32.c(866) : get rid of warning C4018: 
      	'<' : signed/unsigned mismatch by using guint for the loop
      
      	* gtk/gtkmenu.c(gtk_menu_get_property) : property 'menu::active' is 
      	an uint, gtk_menu_get_active() returns the widget pointer. Convert
      	the latter to the former by calculating the index in menu::children
      	Also fix some occurences of g_return_if_fail() where 
      	g_return_val_if_fail() was meant
      
      
      svn path=/trunk/; revision=20662
      d3ce448c
    • Jody Goldberg's avatar
      Fix life cycle to avoid crash. [#536966] · 87caf0d3
      Jody Goldberg authored
      2008-06-20  Jody Goldberg <jody@gnome.org>
      
      	* gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog) : 
      	  Fix life cycle to avoid crash. [#536966]
      
      svn path=/trunk/; revision=20660
      87caf0d3
  10. 19 Jun, 2008 1 commit
  11. 03 Apr, 2008 1 commit
  12. 01 Apr, 2008 1 commit
    • Cody Russell's avatar
      Bump required Cairo to 1.5.2. · b7e15965
      Cody Russell authored
      2008-04-01  Cody Russell  <bratsche@gnome.org>
      
              * configure.in: Bump required Cairo to 1.5.2.
      
              * gtk/gtkprintoperation-win32.c: Add support for using the new
              cairo_win32_printing_surface for printing. (#488833)
      
      
      svn path=/trunk/; revision=19955
      b7e15965
  13. 24 Sep, 2007 1 commit
  14. 13 Jan, 2007 1 commit
  15. 31 Dec, 2006 1 commit
  16. 22 Dec, 2006 1 commit
  17. 10 Sep, 2006 1 commit
  18. 12 Jun, 2006 1 commit
  19. 11 Jun, 2006 1 commit
  20. 08 Jun, 2006 1 commit
    • Alexander Larsson's avatar
      Update windows to build with new APIs and first cut at preview work. · 79041f07
      Alexander Larsson authored
      2006-06-08  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkprintoperation-win32.c:
      	Update windows to build with new APIs and first cut
      	at preview work.
      
      	* gtk/gtkprintoperation-private.h:
      	* gtk/gtkprintoperation-unix.c:
      	* gtk/gtkprintoperation.c
      	Various updates needed when making the preview work on win32.
      
      	* tests/print-editor.c:
      	Print, don't preview.
      79041f07
  21. 02 Jun, 2006 1 commit
    • Alexander Larsson's avatar
      Add gtkprintoperationpreview.[ch] Set default preview command. Hardcoded · fad69ba0
      Alexander Larsson authored
      2006-06-02  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/Makefile.am:
      	Add gtkprintoperationpreview.[ch]
      	Set default preview command. Hardcoded for now.
      
      	* gtk/gtkmarshalers.list:
      	Add BOOLEAN:OBJECT,OBJECT,OBJECT
      
      	* gtk/gtkprintbackend.c:
      	Add preview command property.
      
      	* gtk/gtkprintcontext.[ch]:
      	Make less dependent on PrintOperation for output settings
      	Externally set cairo_t and dpi. Resettable.
      	Create fontmap without metrics hinting (so that print preview
      	text layout doesn't depend on zoom level).
      
      	* gtk/gtkprintoperation-private.h:
      	* gtk/gtkprintoperation-unix.c:
      	* gtk/gtkprintoperation.[ch]:
      	Initial work on print preview API and default implementation
      	using an external preview app.
      
      	* gtk/gtkprintoperation-win32.c:
      	Some needed updates. Not done, needs more work.
      
      	* gtk/gtkprintoperationpreview.[ch]:
      	New interface used in print preview api.
      
      	* gtk/gtkprintunixdialog.c:
      	Add print preview dialog.
      
      	* tests/print-editor.c:
      	Test using an custom print preview widget.
      fad69ba0
  22. 23 May, 2006 2 commits
    • Matthias Clasen's avatar
      Add a boolean show-progress property, and show a progress dialog if it is · 57a052b0
      Matthias Clasen authored
      2006-05-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkprintoperation.h:
      	* gtk/gtkprintoperation.c: Add a boolean show-progress
      	property, and show a progress dialog if it is set to TRUE.
      
      	* gtk/gtkprintoperation.c (pdf_end_run):
      	* gtk/gtkprintoperation-win32.c (win32_end_run):
      	* gtk/gtkprintoperation-unix.c (unix_end_run):
      	* gtk/gtkprintoperation-private.h: Add a cancelled
      	parameter to end_run, and call it even if the print
      	operation was cancelled.
      57a052b0
    • Alexander Larsson's avatar
      Add gtk_print_unix_dialog_add_custom_tab · 07d2dd17
      Alexander Larsson authored
      2006-05-23  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkprintunixdialog.[ch]:
      	Add gtk_print_unix_dialog_add_custom_tab
      
      	* gtk/gtkprintoperation-unix.c:
      	Implement custom widgets for unix.
      	Fix some warnings by including cairo-ps/pdf.h
      
      	* gtk/gtkprintoperation-win32.c:
      	Mark string for translation.
      07d2dd17
  23. 22 May, 2006 1 commit
    • Alexander Larsson's avatar
      Make sure grab-notify is emitted on toplevels as well as child widgets. · d2cb6c6e
      Alexander Larsson authored
      2006-05-22  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkmain.c:
      	Make sure grab-notify is emitted on toplevels as well as
      	child widgets.
      
      	* gtk/Makefile.am:
      	* gtk/gtkwin32embedwidget.[ch]
      	Add new widget used for win32 port to embed gtk+
      	widgets in windows dialog.
      
      	* gtk/gtkmarshalers.list:
      	Add POINTER:VOID
      
      	* gtk/gtkprintoperation-private.h:
      	* gtk/gtkprintoperation.[ch]:
      	Generic support for custom widgets in print dialog.
      
      	* gtk/gtkprintoperation-win32.c:
      	Implement custom widget support for win32.
      
      	* tests/print-editor.c:
      	Allow setting of font using custom widgets in the print dialog.
      d2cb6c6e
  24. 17 May, 2006 1 commit
  25. 15 May, 2006 1 commit
    • Alexander Larsson's avatar
      Added gtk_print_job_set/get_track_print_status · 3f529199
      Alexander Larsson authored
      2006-05-15  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkprintjob.[ch]:
      	Added gtk_print_job_set/get_track_print_status
      
      	* gtk/gtkprintoperation-private.h:
      	* gtk/gtkprintoperation.[ch]:
      	Add gtk_print_operation_set_track_print_status.
      
      	* gtk/gtkprintoperation-unix.c:
      	Implement track_print_status on unix
      
      	* gtk/gtkprintoperation-win32.c:
      	Implement track_print_status on win32
      
      	* gtk/gtk.symbols:
      	Added symbols
      
      	* modules/printbackends/cups/gtkprintbackendcups.c:
      	Implement track_print_status for cups
      
      	* tests/print-editor.c:
      	Test track_print_status.
      3f529199
  26. 12 May, 2006 1 commit
    • Alexander Larsson's avatar
      Fix build errors. · c459feaa
      Alexander Larsson authored
      2006-05-12  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkrecentmanager.c:
      	Fix build errors.
      
      	* gtk/gtk.symbols:
      	* demos/gtk-demo/printing.c:
      	* gtk/gtkprintoperation-win32.c:
      	* gtk/gtkprintoperation.[ch]:
      	* gtk/gtkprintsettings.[ch]:
      	* modules/printbackends/cups/gtkprintbackendcups.c:
      	* modules/printbackends/lpr/gtkprintbackendlpr.c:
      	* modules/printbackends/pdf/gtkprintbackendpdf.c:
      	* tests/print-editor.c:
      	* tests/testnouiprint.c:
      	* tests/testprint.c:
      	* tests/testprintfileoperation.c:
      	Rename functions from nr_of_pages to n_pages, and num_copies to
      	n_copies to match other gtk+ names.
      
      	* gtk/gtkmenu.c: (gtk_menu_popdown):
      	Only re-set window group on popdown if we set it on popup (i.e.
      	if there is a parent menu shell).
      	Fixed part of bug #340401
      
      	* gtk/gtkwindow.c:
      	Add (contruct) property "transient-for" to GtkWindow. This
      	is needed for the fix to bug #340401.
      
      	* gtk/gtkprintunixdialog.c:
      	Use the transient-for property on construction and populate the dialog
      	with widgets after that. This fixes bug #340401.
      	More n_pages renames.
      c459feaa
  27. 24 Apr, 2006 1 commit
    • Matthias Clasen's avatar
      Refactor the gtk_print_operation_run() code and add an _async version. · 2e9cc2f6
      Matthias Clasen authored
      2006-04-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkprintoperation.c (gtk_print_operation_run_async): Refactor the
      	gtk_print_operation_run() code and add an _async version.
      
      	* gtk/gtkprintoperation-private.h:
      	* gtk/gtkprintoperation-unix.c
      	(_gtk_print_operation_platform_backend_run_dialog_async)
      	(gtk_print_run_page_setup_dialog_async): Variants of the run functions
      	which don't call gtk_dialog_run(), but only show the dialog and return,
      	and handle the response in a signal handler.
      
      	* gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog_async)
      	(_gtk_print_operation_platform_backend_run_dialog_async): Implement these
      	by calling the sync versions.
      2e9cc2f6
  28. 21 Apr, 2006 1 commit
    • Alexander Larsson's avatar
      Merge the gtk-printing branch. For more detailed ChangeLog entries, see · 27f746fb
      Alexander Larsson authored
      2006-04-21  Alexander Larsson  <alexl@redhat.com>
      
              Merge the gtk-printing branch.
      	For more detailed ChangeLog entries, see the branch.
      
      	* .cvsignore:
      	* Makefile.am:
      	* configure.in:
      	* docs/tools/widgets.c:
      	* gtk+-unix-print-2.0.pc.in:
      	* gtk/Makefile.am:
      	* gtk/gen-paper-names.c:
      	* gtk/gtk.h:
      	* gtk/gtk.symbols:
      	* gtk/gtkenums.h:
      	* gtk/gtkiconfactory.c:
      	* gtk/gtkmarshalers.list:
      	* gtk/gtkpagesetup.[ch]:
      	* gtk/gtkpagesetupunixdialog.[ch]:
      	* gtk/gtkpapersize.[ch]:
      	* gtk/gtkprint-win32.[ch]:
      	* gtk/gtkprintbackend.[ch]:
      	* gtk/gtkprintcontext.[ch]:
      	* gtk/gtkprinter-private.h:
      	* gtk/gtkprinter.[ch]:
      	* gtk/gtkprinteroption.[ch]:
      	* gtk/gtkprinteroptionset.[ch]:
      	* gtk/gtkprinteroptionwidget.[ch]:
      	* gtk/gtkprintjob.[ch]:
      	* gtk/gtkprintoperation-private.h:
      	* gtk/gtkprintoperation-unix.c:
      	* gtk/gtkprintoperation-win32.c:
      	* gtk/gtkprintoperation.[ch]:
      	* gtk/gtkprintsettings.[ch]:
      	* gtk/gtkprintunixdialog.[ch]:
      	* gtk/paper_names.c:
      	* gtk/paper_names_offsets.c:
      	Platform independent printing API and implementations
      	for unix and windows.
      
      	* gtk/gtkstock.h:
      	* gtk/stock-icons/24/gtk-orientation-landscape.png:
      	* gtk/stock-icons/24/gtk-orientation-portrait.png:
      	* gtk/stock-icons/24/gtk-orientation-reverse-landscape.png:
      	Add stock icons for page orientation.
      
      	* modules/Makefile.am:
      	* modules/printbackends/Makefile.am:
      	* modules/printbackends/cups/Makefile.am:
      	* modules/printbackends/cups/gtkcupsutils.[ch]:
      	* modules/printbackends/cups/gtkprintbackendcups.[ch]:
      	* modules/printbackends/cups/gtkprintercups.[ch]:
      
      	Cups printing backend for unix.
      
      	* modules/printbackends/lpr/Makefile.am:
      	* modules/printbackends/lpr/gtkprintbackendlpr.[ch]:
      	lpr printing backend for unix.
      
      	* modules/printbackends/pdf/Makefile.am:
      	* modules/printbackends/pdf/gtkprintbackendpdf.[ch]:
      	print-to-pdf printing backend for unix.
      
      	* tests/.cvsignore:
      	* tests/Makefile.am:
      	* tests/print-editor.c:
      	Test application for printing.
      
      	* gdk/gdk.symbols:
      	* gdk/win32/gdkevents-win32.c:
      	* gdk/win32/gdkwin32.h:
      	Add gdk_win32_set_modal_dialog_libgtk_only so that we can pump the
      	mainloop while displaying a win32 common dialog.
      
      	* gdk/directfb/Makefile.am:
      	Whitespace cleanup.
      27f746fb