1. 10 Jun, 2011 1 commit
  2. 30 Jan, 2011 2 commits
  3. 18 Jan, 2011 1 commit
  4. 30 Oct, 2010 1 commit
  5. 26 Oct, 2010 1 commit
  6. 19 Oct, 2010 1 commit
  7. 14 Jul, 2010 1 commit
  8. 02 May, 2010 1 commit
  9. 07 Aug, 2009 1 commit
  10. 10 Jul, 2009 1 commit
    • Marek Kašík's avatar
      Add paper size combo and orientation combo to print dialog · 0ef74c93
      Marek Kašík authored
      Paper size combo and orientation combo can be added by
      gtk_print_operation_set_embed_page_setup_dialog() to GtkPrinUnixDialog
      now. This function induce calling of
      gtk_print_unix_dailog_set_embed_page_setup_dialog() after creation of
      dialog. These two functions control embed-page-setup-dialog properties
      in GtkPrintOperation and in GtkPrintUnixDialog.
      There is also new function gtk_print_unix_dialog_get_page_setup_set()
      which says whether page setup was set by user.
      Selected page setup is stored as default page setup in
      GtkPrintOperation.
      New class is added, its name is GtkCustomPaperUnixDialog. The class
      manages custom sizes. It is derived from GtkPageSetupUnixDialog's
      CustomPaperDialog structure.
      Page layout preview is modified, so, it shows dimensions of current
      page setup (mm or inch - depends on locale). It also shows the name of
      actual paper if page setup dialog is not embedded (paper size combo is
      not visible).
      gtk-demo is actualized to include this new feature.
      0ef74c93
  11. 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
  12. 21 Apr, 2009 1 commit
  13. 19 Dec, 2008 1 commit
    • Marek Kašík's avatar
      Bug 339318 - Allow page rendering to (optionally) happen in a thread · 8ff5d4ff
      Marek Kašík authored
      2008-12-19  Marek Kasik  <mkasik@redhat.com>
      
      	Bug 339318 - Allow page rendering to (optionally) happen in a thread
      
      	* gtk/gtk.symbols: API change
      	* doc/reference/gtk/gtk-sections.txt: API change
      	* gtk/gtkprintoperation-private.h
      	* gtk/gtkprintoperation.h
      	* gtk/gtkprintoperation.c: Adds 2 new functions
      	   gtk_print_operation_set_defer_drawing()
      	     - Sets up the GtkPrintOperation to wait for calling of
      	       gtk_print_operation_draw_page_finish() from application. It can
      	       be used for drawing page in another thread.
      	       This function must be called in the callback of "draw-page"
      	       signal.
      	   gtk_print_operation_draw_page_finish()
      	     - Signalize that drawing of particular page is complete.
      	       It is called after completion of page drawing (e.g. drawing
      	       in another thread).
      	       If gtk_print_operation_set_defer_drawing() was called before,
      	       then this function has to be called by application. In another
      	       case it is called by the library itself.
      
      svn path=/trunk/; revision=21913
      8ff5d4ff
  14. 30 Oct, 2008 1 commit
  15. 01 Jul, 2008 1 commit
  16. 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
  17. 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
  18. 20 Jun, 2008 1 commit
  19. 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
  20. 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
  21. 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
  22. 11 Jun, 2006 1 commit
  23. 08 Jun, 2006 4 commits
    • Matthias Clasen's avatar
      Don't include gtkprinter-private.h here. · 480803d5
      Matthias Clasen authored
      2006-06-08  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintbackend.h: Don't include gtkprinter-private.h here.
      
      	* gtk/gtkprintunixdialog.c:
      	* gtk/gtkprintoperation-unix.c:
      	* gtk/gtkprintjob.c:
      	* gtk/gtkprintbackend.c: Instead include it here.
      
      	* gtk/gtk.symbols:
      	* gtk/gtkprintoperation.h:
      	* gtk/gtkprintoperation.c: Rename pdf_target to export_filename.
      480803d5
    • Matthias Clasen's avatar
      Rename pdf_target to export_filename · 2307bcef
      Matthias Clasen authored
      2307bcef
    • Matthias Clasen's avatar
      Get rid of GTK_PRINT_OPERATION_RESULT_PREVIEW. · 49e88d89
      Matthias Clasen authored
      2006-06-08  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintoperation.h (GtkPrintOperationResult): Get
      	rid of GTK_PRINT_OPERATION_RESULT_PREVIEW.
      
      	* gtk/gtkprintoperation-unix.c:
      	* gtk/gtkprintoperation.c: Update all users.
      49e88d89
    • Matthias Clasen's avatar
      Add some docs. · b5af7163
      Matthias Clasen authored
      2006-06-07  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintoperation.c: Add some docs.
      
      	* gtk/gtk.symbols: Add gtk_print_operation_set_allow_async.
      
      	* gtk/gtkprintoperation.h: Remove gtk_print_operation_run_async.
      b5af7163
  24. 07 Jun, 2006 1 commit
    • Alexander Larsson's avatar
      Clean up APIs: Make async a setting instead of separate calls. Combine · 9bea3859
      Alexander Larsson authored
      2006-06-07  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkprintoperation-private.h:
      	* gtk/gtkprintoperation-unix.c:
      	* gtk/gtkprintoperation.[ch]:
      	Clean up APIs:
      	Make async a setting instead of separate calls.
      	Combine settings like show_dialog, show_preview and pdf_target into
      	an action enum that you pass to gtk_print_dialog_run().
      
      	* tests/print-editor.c:
      	* tests/testnouiprint.c:
      	* tests/testprint.c:
      	* demos/gtk-demo/printing.c:
      	Update to new APIs
      9bea3859
  25. 03 Jun, 2006 1 commit
  26. 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
  27. 24 May, 2006 1 commit
  28. 23 May, 2006 1 commit
    • 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
  29. 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
  30. 19 May, 2006 1 commit
    • Matthias Clasen's avatar
      New function to cancel a running print operation. · a59a999d
      Matthias Clasen authored
      2006-05-19  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkprintoperation.h:
      	* gtk/gtkprintoperation.c (gtk_print_operation_cancel): New function
      	to cancel a running print operation.
      
      	* gtk/gtkprintoperation-private.h (struct _GtkPrintOperationPrivate):
      	Add a cancelled flag, use g types, use bitfields.
      
      	* gtk/gtkprintoperation.c (print_pages): Clean up after the idle
      	in the synchronous case.
      a59a999d
  31. 18 May, 2006 1 commit
  32. 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
  33. 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
  34. 24 Apr, 2006 1 commit
  35. 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