1. 27 Feb, 2012 1 commit
  2. 10 Jun, 2011 1 commit
  3. 20 Jan, 2011 2 commits
  4. 03 Jan, 2011 2 commits
  5. 13 Jul, 2010 1 commit
  6. 10 Jul, 2010 1 commit
  7. 16 May, 2010 1 commit
  8. 04 Apr, 2010 2 commits
  9. 08 Jan, 2010 1 commit
  10. 16 Dec, 2009 1 commit
    • Colin Walters's avatar
      [introspection] Merge in Gtk-custom.c annotations · 6529c076
      Colin Walters authored
      The Gtk-custom.c file in gir-repository contained a number of
      introspection annotations.  Merge those into the GTK source files.
      
      Some documentation was moved from the tmpl/ files to accomodate
      the addition of annotations.
      6529c076
  11. 05 Dec, 2009 1 commit
  12. 01 Dec, 2009 1 commit
  13. 17 Sep, 2008 1 commit
    • Matthias Clasen's avatar
      Bug 346903 – gtk_enumerate_printers needs events to complete · 8ec27f77
      Matthias Clasen authored
      2008-09-17  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 346903 – gtk_enumerate_printers needs events to complete
      
              * gtk/gtkprintbackend.h:
              * gtk/gtkprintbackend.c: Add a GtkPrintBackend::status property.
      
              * modules/printbackends/cups/gtkcupsutils.h:
              * modules/printbackends/cups/gtkcupsutils.c: Turn the connection
              test into a tristate available/unavailable/in progress.
      
              * modules/printbackends/cups/gtkprintbackendcups.c: Use a single
              connection test instance for getting the default printer and for
              getting the printer list. Set the GtkPrintBackend::status property
              according to the result of the connection test. Use the printer-type
              attribute to find the default printer, if cups supports it.
      
              * gtk/gtkprinter.c: When enumerating printers, give up when
              the backend status is 'unavailable'.
      
              * gtk/gtkprintunixdialog.c (printer_status_cb): Select the printer
              when it is the default and nothing else has been selected yet.
      
      
      svn path=/trunk/; revision=21417
      8ec27f77
  14. 09 Sep, 2008 1 commit
  15. 21 Aug, 2008 1 commit
    • Marek Kašík's avatar
      Bug 535158 – can't rearrange the order of multi pages per side · 6e7941db
      Marek Kašík authored
      2008-08-21  Marek Kasik  <mkasik@redhat.com>
      
      	Bug 535158 – can't rearrange the order of multi pages per side
      
      	* gtk/gtkprinter.c
      	* gtk/gtkprinter.h
      	* gtk/gtkprintunixdialog.c
      	* gtk/gtkprintsettings.c
      	* gtk/gtkprintsettings.h
      	* gtk/gtkenums.h
      	* modules/printbackends/cups/gtkprintbackendcups.c: Allow user to
      	specify layout of pages per sheet in number-up mode
      
      svn path=/trunk/; revision=21175
      6e7941db
  16. 15 Jul, 2008 1 commit
    • Matthias Clasen's avatar
      Bug 384940 – handle rejecting jobs and authentication meaningfully · 1eb96ead
      Matthias Clasen authored
              Patch by Marek Kasik, icons by Mike Langlie:
              * gtk/gtk.symbols:
              * gtk/gtkprintbackend.h:
              * gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties
              and getters/setters.
      
              * gtk/gtkstock.h:
              * gtk/gtkiconfactory.c:
              * gtk/Makefile.am:
              * gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon.
      
              * modules/printbackends/cups/gtkprintbackendcups.c:
              * gtk/gtkprintunixdialog.c: Handle paused and job-rejecting
              printers.
      
      
      svn path=/trunk/; revision=20838
      1eb96ead
  17. 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
              get_default_page_size.
      
              * 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
      59ae44d0
  18. 12 Feb, 2008 1 commit
  19. 28 Dec, 2007 1 commit
  20. 28 May, 2007 1 commit
    • Carlos Garcia Campos's avatar
      Add new capability GTK_PRINT_CAPABILITY_NUMBER_UP. · eb7f97bb
      Carlos Garcia Campos authored
      2007-05-28  Carlos Garcia Campos  <carlosgc@gnome.org>
      	* gtk/gtkprinter.[ch]: Add new capability
      	GTK_PRINT_CAPABILITY_NUMBER_UP.
      	* docs/reference/gtk/tmpl/gtkprintunixdialog.sgml: 
      	* gtk/gtkprintunixdialog.c: (update_dialog_from_capabilities):
      	* modules/printbackends/file/gtkprintbackendfile.c:
      	(file_printer_get_options), (file_printer_get_settings_from_options):
      	* modules/printbackends/cups/gtkprintbackendcups.c:
      	(cups_printer_get_capabilities): Add a new print capability to specify
      	whether print dialog will offer printing multiple pages per sheet. (#398414)
      
      svn path=/trunk/; revision=17963
      eb7f97bb
  21. 26 May, 2007 3 commits
  22. 30 Apr, 2007 1 commit
    • Christian Persch's avatar
      Make gtk_printer_get_capabilities public, and move the · be87e9a8
      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/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=17746
      be87e9a8
  23. 29 Apr, 2007 1 commit
    • Matthias Clasen's avatar
      Make gtk_printer_has_details() and gtk_printer_request_details() public. · bcbbbe51
      Matthias Clasen authored
      2007-04-29  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtk.symbols:
              * gtk/gtkprinter-private.h:
              * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and
              gtk_printer_request_details() public.
      
              * gtk/gtkpagesetupunixdialog.c:
              * gtk/gtkprintunixdialog.c: Update callers.  (#389203,
              Christian Persch)
      
      
      
      svn path=/trunk/; revision=17690
      bcbbbe51
  24. 24 Dec, 2006 1 commit
    • Christian Persch's avatar
      Make gtk_printer_list_papers public. Bug #345587. · 4f5e5b48
      Christian Persch authored
      2006-12-24  Christian Persch  <chpe@cvs.gnome.org>
      
      	* docs/reference/gtk/gtk-sections.txt:
      	* gtk/gtk.symbols:
      	* gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
      	* gtk/gtkprinter-private.h:
      	* gtk/gtkprinter.c: (gtk_printer_list_papers):
      	* gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
      4f5e5b48
  25. 30 Jun, 2006 1 commit
  26. 29 Jun, 2006 1 commit
    • Matthias Clasen's avatar
      Documentation additions and fixes. · f8f93845
      Matthias Clasen authored
      2006-06-28  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkprinter.c:
              * gtk/gtkprintunixdialog.c:
              * gtk/gtkprintoperationpreview.c:
              * gtk/gtkprintcontext.c (gtk_print_context_set_cairo_context):
              * gtk/gtklabel.c (gtk_label_set_line_wrap_mode):
              * gtk/gtkentry.c (gtk_entry_new):
              * gtk/gtkprintoperation.c (gtk_print_operation_set_custom_tab_label):
              * gtk/gtkclipboard.c (gtk_clipboard_wait_for_rich_text): Documentation
              additions and fixes.
      
              * gtk/gtkaspectframe.h:
              * gtk/gtkaboutdialog.c:
              * gtk/gtkcalendar.c:
              * gtk/gtkinputdialog.c:
              * gtk/gtk.symbols: Remove unnecessary includes.
      
              * gtk/gtkprogress.[hc]:
              * gtk/gtkitemfactory.[hc]: Don't unnecessarily use GTK_COMPILATION,
              remove unnecessary includes.
      f8f93845
  27. 25 Jun, 2006 1 commit
  28. 22 Jun, 2006 1 commit
  29. 21 Jun, 2006 2 commits
    • 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
    • Matthias Clasen's avatar
      cleanup · a4290e70
      Matthias Clasen authored
      a4290e70
  30. 19 Jun, 2006 2 commits
    • Matthias Clasen's avatar
      Forgotten files · 7969d88c
      Matthias Clasen authored
      7969d88c
    • Matthias Clasen's avatar
      Add a capabilities argument to the printer_get_options method and to the · 7a44ce33
      Matthias Clasen authored
      2006-06-19  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprinter-private.h:
      	* gtk/gtkprinter.c (_gtk_printer_get_options):
      	* gtk/gtkprintbackend.h: Add a capabilities argument to the
      	printer_get_options method and to the _gtk_printer_get_options
      	function
      
      	* modules/printbackends/lpr/gtkprintbackendlpr.c
      	(lpr_printer_get_options):
      	* modules/printbackends/pdf/gtkprintbackendpdf.c
      	(pdf_printer_get_options):
      	* modules/printbackends/cups/gtkprintbackendcups.c
      	(cups_printer_get_options):
      	* gtk/gtkprintunixdialog.c (selected_printer_changed): Adjust
      	callers and implementations.
      7a44ce33
  31. 16 Jun, 2006 1 commit
    • Matthias Clasen's avatar
      Add a GtkPrintSettings parameter to the printer_create_cairo_surface · 956bcb43
      Matthias Clasen authored
      2006-06-16  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintbackend.h: Add a GtkPrintSettings parameter to the
      	printer_create_cairo_surface method.
      
      	* modules/printbackends/pdf/gtkprintbackendpdf.c:
      	* modules/printbackends/cups/gtkprintbackendcups.c:
      	* modules/printbackends/lpr/gtkprintbackendlpr.c:
      	* gtk/gtkprinter.c (_gtk_printer_create_cairo_surface):
      	* gtk/gtkprinter-private.h:
      	* gtk/gtkprintjob.c (gtk_print_job_get_surface): Adapt all users.
      956bcb43
  32. 12 Jun, 2006 1 commit
    • Matthias Clasen's avatar
      Use gtk_printer_accepts_ps here. · 809c8d56
      Matthias Clasen authored
      2006-06-12  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintunixdialog.c (is_printer_active): Use
      	gtk_printer_accepts_ps here.
      
      	* modules/printbackends/pdf/gtkprintbackendpdf.c (gtk_print_backend_pdf_init):
      	Mark the virtual "Print to PDF" printer as not accepting PS.
      
      	* gtk/gtk.symbols:
      	* gtk/gtkprinter.h:
      	* gtk/gtkprinter.c: Add two new properties accepts-pdf and
      	accepts-ps (with getters) to allow learning supported formats.
      809c8d56
  33. 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