1. 05 May, 2013 1 commit
  2. 28 Dec, 2012 1 commit
  3. 27 Feb, 2012 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. 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
  10. 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
  11. 20 Jun, 2008 1 commit
  12. 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
  13. 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
  14. 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
  15. 23 May, 2006 1 commit
    • Alexander Larsson's avatar
      Add gtk_print_unix_dialog_add_custom_tab · 07d2dd17
      Alexander Larsson authored
      2006-05-23  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkprintunixdialog.[ch]:
      	Add gtk_print_unix_dialog_add_custom_tab
      
      	* gtk/gtkprintoperation-unix.c:
      	Implement custom widgets for unix.
      	Fix some warnings by including cairo-ps/pdf.h
      
      	* gtk/gtkprintoperation-win32.c:
      	Mark string for translation.
      07d2dd17
  16. 24 Apr, 2006 1 commit
    • Matthias Clasen's avatar
      Fix includes (#338665) · 894305cd
      Matthias Clasen authored
      2006-04-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintunixdialog.h:
      	* gtk/gtkpagesetupunixdialog.h: Fix includes (#338665)
      894305cd
  17. 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