1. 08 Jul, 2016 1 commit
  2. 05 May, 2013 1 commit
  3. 28 Dec, 2012 1 commit
  4. 27 Feb, 2012 1 commit
  5. 10 Jun, 2011 1 commit
  6. 14 Jan, 2011 1 commit
  7. 18 Dec, 2010 1 commit
  8. 19 Oct, 2010 1 commit
  9. 07 Jun, 2010 1 commit
  10. 02 May, 2010 1 commit
  11. 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
  12. 20 Jun, 2008 2 commits
    • Tim Janik's avatar
      Switch to "guint GSEAL (foo) : width;" when packing fields in guints. · cd19149a
      Tim Janik authored
      * gtk/gtkbox.h:
      * gtk/gtkbutton.h:
      * gtk/gtkcellrenderer.h:
      * gtk/gtkcellrenderertext.h:
      * gtk/gtkcheckmenuitem.h:
      * gtk/gtkcontainer.h:
      * gtk/gtkentry.h:
      * gtk/gtkhandlebox.h:
      * gtk/gtkimcontextsimple.h:
      * gtk/gtklabel.h:
      * gtk/gtkliststore.h:
      * gtk/gtkmenu.h:
      * gtk/gtkmenuitem.h:
      * gtk/gtkmenushell.h:
      * gtk/gtknotebook.h:
      * gtk/gtkpaned.h:
      * gtk/gtkplug.h:
      * gtk/gtkprintjob.h:
      * gtk/gtkprogressbar.h:
      * gtk/gtkrange.h:
      * gtk/gtkscale.h:
      * gtk/gtkscrolledwindow.h:
      * gtk/gtksizegroup.h:
      * gtk/gtksocket.h:
      * gtk/gtkspinbutton.h:
      * gtk/gtkstatusbar.h:
      * gtk/gtktable.h:
      * gtk/gtktearoffmenuitem.h:
      * gtk/gtktextbuffer.h:
      * gtk/gtktextview.h:
      * gtk/gtktogglebutton.h:
      * gtk/gtktoolbar.h:
      * gtk/gtktreestore.h:
      * gtk/gtktreeviewcolumn.h:
      * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
      
      svn path=/trunk/; revision=20621
      cd19149a
    • Tim Janik's avatar
      Seal GtkPrintJob. · 9908eab7
      Tim Janik authored
      svn path=/trunk/; revision=20599
      9908eab7
  13. 29 May, 2008 1 commit
    • Michael Natterer's avatar
      gtk/Makefile.am add a single-include header for the unix print stuff. · c8e67f3c
      Michael Natterer authored
      2008-05-29  Michael Natterer  <mitch@imendio.org>
      
      	* gtk/Makefile.am
      	* gtk/gtkunixprint.h: add a single-include header for the unix
      	print stuff.
      
      	* gtk/gtkpagesetupunixdialog.h
      	* gtk/gtkprinter.h
      	* gtk/gtkprintjob.h
      	* gtk/gtkprintunixdialog.h: add single-include guards that #error
      	out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
      	files is included individually.
      
      	* gtk/gtkprintbackend.h
      	* gtk/gtkprinter-private.h
      	* modules/printbackends/cups/gtkprintbackendcups.c
      	* modules/printbackends/cups/gtkprintercups.h
      	* modules/printbackends/lpr/gtkprintbackendlpr.c
      	* tests/buildertest.c
      	* tests/defaultvaluetest.c
      	* docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
      	individual files.
      
      
      svn path=/trunk/; revision=20230
      c8e67f3c
  14. 28 May, 2008 2 commits
    • Michael Natterer's avatar
      whitespace cleanup: remove trailing whitespace and excess newlines and · 2c5f8a5c
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
      	excess newlines and sprinkled some newlines where needed. Zero
      	code or formatting changes included.
      
      
      svn path=/trunk/; revision=20225
      2c5f8a5c
    • Michael Natterer's avatar
      define __GTK_H_INSIDE__ around including all other headers. · eff99c28
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
      	headers.
      
      	* gtk/gtktypebuiltins.h.template
      	* gtk/gtkversion.h.in
      	* gtk/gtk*.h: add single-include guards that #error out if
      	GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
      	included individually.
      
      	* gtk/gtkprintbackend.h
      	* gtk/gtkprinter-private.h
      	* gtk/gtktextlayout.h
      	* gtk/gtktexttagprivate.h
      	* gtk/gtktexttypes.h
      	* gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
      	headers in these private or semi-private headers.
      
      	* gtk/gtkimmodule.h: also here because it's not in gtk.h.
      
      	* gtk/gtkpagesetupunixdialog.h
      	* gtk/gtkprinter.h
      	* gtk/gtkprintjob.h
      	* gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
      
      	* gtk/gtkclist.h
      	* gtk/gtkcombo.h
      	* gtk/gtkctree.h
      	* gtk/gtkfilesel.h
      	* gtk/gtkitemfactory.h
      	* gtk/gtklist.h
      	* gtk/gtklistitem.h
      	* gtk/gtkoldeditable.h
      	* gtk/gtkoptionmenu.h
      	* gtk/gtkpixmap.h
      	* gtk/gtkpreview.h
      	* gtk/gtksignal.h
      	* gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
      	instead of individual headers in these deprecated headers. They
      	don't get included at all when GTK_DISABLE_DEPRECATED is defined,
      	so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
      	and include them individually, which should continue to work.
      
      	* gtk/gtkclist.c: include "gtkctree.h" because of the change
      	above.
      
      
      svn path=/trunk/; revision=20221
      eff99c28
  15. 01 May, 2007 1 commit
  16. 30 Apr, 2007 1 commit
    • Christian Persch's avatar
      Make gtk_printer_get_capabilities public, and move the · 1aa8a09f
      Christian Persch authored
      2007-04-30  Christian Persch  <chpe@gnome.org>
      
      	* docs/reference/gtk/gtk-sections.txt:
      	* gtk/gtk.symbols:
      	* gtk/gtkprinter-private.h:
      	* gtk/gtkprinter.c: (gtk_printer_get_capabilities),
      	(gtk_print_capabilities_get_type):
      	* gtk/gtkprinter.h:
      	* gtk/gtkprintjob.c:
      	* gtk/gtkprintjob.h:
      	* gtk/gtkprintunixdialog.c: (selected_printer_changed):
      	Make gtk_printer_get_capabilities public, and move the
      	GtkPrintCapabilities definition to gtkprinter.h. Bug #390437.
      
      svn path=/trunk/; revision=17747
      1aa8a09f
  17. 30 Jun, 2006 1 commit
  18. 22 Jun, 2006 1 commit
  19. 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
      be8f3c72
  20. 19 Jun, 2006 1 commit
  21. 14 Jun, 2006 1 commit
  22. 12 Jun, 2006 1 commit
    • Matthias Clasen's avatar
      Add a GTK_PRINT_CAPABILITY_GENERATE_PDF capability. · c6d1d9dd
      Matthias Clasen authored
      2006-06-12  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintjob.h: Add a GTK_PRINT_CAPABILITY_GENERATE_PDF
      	capability.
      
      	* gtk/gtkprintunixdialog.c: Use it here to hide "Print to PDF"
      	from the printer list.  (#339592, Christian Persch)
      c6d1d9dd
  23. 11 Jun, 2006 1 commit
  24. 24 May, 2006 1 commit
    • Alexander Larsson's avatar
      Add gtk_print_unix_dialog_set_manual_capabilities that controls what · 70376f28
      Alexander Larsson authored
      2006-05-24  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkprintunixdialog.[ch]:
      	Add gtk_print_unix_dialog_set_manual_capabilities that controls
      	what widgets to enable in the dialog depending on the apps
      	capabilities.
      
      	* gtk/gtkprintbackend.[ch]:
      	* gtk/gtkprinter-private.h:
      	* gtk/gtkprinter.c:
      	* gtk/gtkprintjob.h:
      	Add printer_get_capabilities to backend.
      	Move some fallback calls to the printbackend base class.
      
      	* gtk/gtkprintoperation-unix.c:
      	Set manual capabilities
      
      	* modules/printbackends/cups/gtkprintbackendcups.c:
      	Implement get_capabilities
      
      	* modules/printbackends/lpr/gtkprintbackendlpr.c:
      	* modules/printbackends/pdf/gtkprintbackendpdf.c:
      	Move some methods to baseclass.
      70376f28
  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. 24 Apr, 2006 2 commits
    • Alexander Larsson's avatar
      Declare GtkPrintJob. · c8f0d210
      Alexander Larsson authored
      2006-04-24  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkprintjob.h:
      	Declare GtkPrintJob.
      
      	* gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_settings):
      	Change g_return_if_fail to g_return_val_if_fail.
      c8f0d210
    • Matthias Clasen's avatar
      Use g types, add documentation, and some stylistic fixups. · 8cf2909e
      Matthias Clasen authored
      2006-04-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprinter-private.h:
      	* gtk/gtkprintbackend.h:
      	* gtk/gtkprinter.[hc]:
      	* gtk/gtkprintjob.[hc]: Use g types, add documentation, and some
      	stylistic fixups.
      
      	* gtk/gtkaboutdialog.c (activate_url): Avoid a compiler warning.
      8cf2909e
  27. 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