1. 08 Jun, 2009 1 commit
    • Marek Kašík's avatar
      Add ability to print selection · a12a583c
      Marek Kašík 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
      gtk_print_dialog_unix_set_has_selection().
      There are new properties GtkPrintUnixDialog::support-selection,
      GtkPrintUnixDialog::has-selection, GtkPrintOperation::support-selection
      and GtkPrintOperation::has-selection. Corresponding getters are
      gtk_print_dialog_unix_get_support_selection(),
      gtk_print_dialog_unix_get_has_selection(),
      gtk_print_operation_get_support_selection() and
      gtk_print_operation_get_has_selection().
      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
      gtk_print_unix_dialog_get_manual_capabilities().
      a12a583c
  2. 29 Dec, 2008 1 commit
  3. 30 Oct, 2008 1 commit
    • Marek Kašík's avatar
      Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing · a3b07ac9
      Marek Kašík authored
      2008-10-30  Marek Kasik  <mkasik@redhat.com>
      
      	Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing
      
      	* gtk/gtk.symbols
      	* gtk/gtkprintsettings.c
      	* gtk/gtkprintsettings.h
      	* docs/reference/gtk/gtk-sections.txt
      	* modules/printbackends/file/gtkprintbackendfile.c
      	* modules/printbackends/test/gtkprintbackendtest.c
      	* modules/printbackends/cups/gtkprintbackendcups.c
      	* modules/printbackends/lpr/gtkprintbackendlpr.c:
      	Added lpi (lines per inch) setting to GtkPrintSettings and support
      	for anamorphic dpi. Surface fallback resolution is set to 2*lpi.
      
      svn path=/trunk/; revision=21733
      a3b07ac9
  4. 17 Sep, 2008 1 commit
  5. 04 Sep, 2008 1 commit
    • Matthias Clasen's avatar
      Add nicks for the GtkNumberUpLayout values. · 861ac4ad
      Matthias Clasen authored
      2008-09-04  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkenums.h: Add nicks for the GtkNumberUpLayout values.
      
              * gtk/gtkprintunixdialog.c:
              * gtk/gtkprintsettings.c: Simplify the handling of GtkNumberUpLayout
              values. Followup on #535158, proposed by Christian Persch.
      
      2008-09-04  Matthias Clasen  <mclasen@redhat.com>
      
              * INSTALL.in: Update required versions
      
      
      svn path=/trunk/; revision=21289
      861ac4ad
  6. 03 Sep, 2008 1 commit
  7. 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
  8. 01 Jul, 2008 1 commit
  9. 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
  10. 15 Feb, 2008 1 commit
  11. 06 Feb, 2008 1 commit
    • Matthias Clasen's avatar
      Allow to store half-open ranges. · 0f1958e3
      Matthias Clasen authored
      2008-02-05  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
              Allow to store half-open ranges.
      
      
      
      svn path=/trunk/; revision=19479
      0f1958e3
  12. 14 Dec, 2007 2 commits
  13. 26 May, 2007 1 commit
  14. 29 Apr, 2007 1 commit
    • Matthias Clasen's avatar
      Add a new error code · 3c5bd522
      Matthias Clasen authored
      2007-04-29  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkprintoperation.h: Add a new error code
      
              * gtk/gtk.symbols:
              * gtk/gtkpagesetup.[hc]:
              * gtk/gtkpapersize.[hc]:
              * gtk/gtkprintsettings.[hc]: Add functions to serialize
              and deserialize page setups and print settings to files
              and key files.  (#344515, Christian Persch)
      
              * gtk/gtkpagesetupunixdialog.c: Adapt to the new functions.
      
              * tests/print-editor.c: Use the new functions to persist
              page setup and print settings.
      
      
      svn path=/trunk/; revision=17697
      3c5bd522
  15. 03 Oct, 2006 1 commit
  16. 23 Jul, 2006 1 commit
  17. 30 Jun, 2006 1 commit
    • Matthias Clasen's avatar
      Documentation updates. · a3bfbe23
      Matthias Clasen authored
      2006-06-30  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
              Documentation updates.
      
              * gtk/gtkprintunixdialog.c (gtk_print_unix_dialog_set_settings):
              Don't leak the ranges.  (#346237, Carolyn MacLeod)
      a3bfbe23
  18. 20 Jun, 2006 1 commit
  19. 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
  20. 24 Apr, 2006 1 commit
    • Matthias Clasen's avatar
      Match parameter names with the headers. · 0d10969b
      Matthias Clasen authored
      2006-04-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkclipboard.h:
      	* gtk/gtkprinter.c:
      	* gtk/gtkprintsettings.h:
      	* gtk/gtkprintsettings.c: Match parameter names with the headers.
      
      	* gtk/gtkprintoperation-unix.c (gtk_print_run_page_setup_dialog):
      	Add docs.
      
      	* gtk/gtktextbufferrichtext.c (gtk_text_buffer_deserialize):
      	* gtk/gtkstatusicon.c (gtk_status_icon_get_storage_type):
      	* gtk/gtktreeview.c (gtk_tree_view_set_search_position_func):
      	* gtk/gtktreeview.c (gtk_tree_view_get_headers_clickable):
      	* gtk/gtkcellrendererspin.c (gtk_cell_renderer_spin_new):
      	* gtk/gtkmenu.c (gtk_menu_get_for_attach_widget): Fix the docs.
      0d10969b
  21. 23 Apr, 2006 2 commits
    • Matthias Clasen's avatar
      Add gtkprintutils.[hc] · 935482e3
      Matthias Clasen authored
      2006-04-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/Makefile.am: Add gtkprintutils.[hc]
      
      	* gtk/gtkprintutils.[hc]: New files, move the unit conversion
      	functions here.
      
      	* gtk/gtkpagesetupunixdialog.c:
      	* gtk/gtkprintsettings.c:
      	* gtk/gtkpagesetup.c:
      	* gtk/gtkpapersize.c: Replace all static copies of to_mm/from_mm
      	by the copies in gtkprintutils.c.
      
      	* gtk/gtkpagesetup.[hc]: Use g types, add documentation.
      935482e3
    • Matthias Clasen's avatar
      more docs · 46548ae5
      Matthias Clasen authored
      46548ae5
  22. 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