1. 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
  2. 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
  3. 01 Jul, 2008 1 commit
  4. 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
  5. 23 Jun, 2008 1 commit
    • Michael Natterer's avatar
      gtk/gtkaction.h gtk/gtkbuildable.h gtk/gtkbuilderprivate.h · 77e99003
      Michael Natterer authored
      2008-06-23  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkaction.h
      	* gtk/gtkbuildable.h
      	* gtk/gtkbuilderprivate.h
      	* gtk/gtkcelllayout.h
      	* gtk/gtkentrycompletion.h
      	* gtk/gtkfilechoosersettings.h
      	* gtk/gtkfilesystem.h
      	* gtk/gtkfilesystemmodel.h
      	* gtk/gtkicontheme.h
      	* gtk/gtklinkbutton.h
      	* gtk/gtkpagesetup.h
      	* gtk/gtkpapersize.h
      	* gtk/gtkprintcontext.h
      	* gtk/gtkprintoperation.h
      	* gtk/gtkprintoperationpreview.h
      	* gtk/gtkprintsettings.h
      	* gtk/gtkrecentchooserprivate.h
      	* gtk/gtkrecentmanager.h
      	* gtk/gtksearchengine.h
      	* gtk/gtktexttag.h
      	* gtk/gtktreeselection.h
      	* gtk/gtktreeviewcolumn.h
      	* gtk/gtkuimanager.h: remove redundant inclusion of <glib.h> and
      	<glib-object.h>. There is no point in relying on them being pulled
      	in by other headers in some places and placing them explicitly in
      	other places, so choose the "as little includes as possible"
      	approach and get rid of them.
      
      
      svn path=/trunk/; revision=20675
      77e99003
  6. 13 Jun, 2008 1 commit
    • Michael Natterer's avatar
      gtk/gtkcellrendereraccel.h gtk/gtkfilechooser.h gtk/gtkfilechooserdialog.h · d0c713bf
      Michael Natterer authored
      2008-06-13  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkcellrendereraccel.h
      	* gtk/gtkfilechooser.h
      	* gtk/gtkfilechooserdialog.h
      	* gtk/gtkfilechooserwidget.h
      	* gtk/gtkmenutoolbutton.h
      	* gtk/gtkpagesetup.h
      	* gtk/gtkpapersize.h
      	* gtk/gtkprintcontext.h
      	* gtk/gtkprintoperation.h
      	* gtk/gtkprintoperationpreview.h
      	* gtk/gtkprintsettings.h
      	* gtk/gtkradiotoolbutton.h
      	* gtk/gtkrecentchooser.h
      	* gtk/gtkrecentchooserdialog.h
      	* gtk/gtkrecentchoosermenu.h
      	* gtk/gtkrecentchooserwidget.h
      	* gtk/gtkseparatortoolitem.h
      	* gtk/gtkshow.h
      	* gtk/gtktoggletoolbutton.h
      	* gtk/gtktoolbar.h
      	* gtk/gtktoolbutton.h
      	* gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
      	"gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.
      
      
      svn path=/trunk/; revision=20375
      d0c713bf
  7. 28 May, 2008 1 commit
    • 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
  8. 14 Dec, 2007 1 commit
    • Mathias Hasselmann's avatar
      Extract loading of GtkPageSetup and GtkPrintSettings from their *_new_*() · ea8074a4
      Mathias Hasselmann authored
      functions and move that code into separate *_load_*() functions (#475565).
      
      * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
      Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
      gtk_print_settings_load_file and gtk_print_settings_load_key_file.
      Change the matching *_new_*() functions to use those functions.
      
      svn path=/trunk/; revision=19176
      ea8074a4
  9. 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
  10. 20 Jun, 2006 2 commits
    • Christian Persch's avatar
      Convert input to filename encoding and construct an URI from that. Add · 0bce4d27
      Christian Persch authored
      2006-06-20  Christian Persch  <chpe@cvs.gnome.org>
      
      	* gtk/gtkprinteroptionwidget.c: (filesave_changed_cb),
      	(alternative_set), (construct_widgets): Convert input to filename
      	encoding and construct an URI from that.
      	* gtk/gtkprintsettings.h: Add OUTPUT_FILE_FORMAT and OUTPUT_URI keys.
      	* modules/printbackends/pdf/gtkprintbackendpdf.c: Use those defines.
      	Step 1 from bug #339592.
      0bce4d27
    • Matthias Clasen's avatar
      broken pipe · 59862b09
      Matthias Clasen authored
      59862b09
  11. 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
  12. 24 Apr, 2006 2 commits
    • Matthias Clasen's avatar
      Declare in a way grokked by gtk-doc. · 64d3323a
      Matthias Clasen authored
      2006-04-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintsettings.h (GtkPageRange): Declare in a way grokked by gtk-doc.
      64d3323a
    • 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
  13. 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