summaryrefslogtreecommitdiff
path: root/gtk/gtkprintsettings.c
Commit message (Collapse)AuthorAgeFilesLines
* docs: Another round of markup removalMatthias Clasen2014-03-291-5/+0
|
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-42/+42
| | | | Instead of Return value:
* Docs: Remove all entities and turn off sgml modeMatthias Clasen2014-02-091-2/+2
| | | | | With all element markup gone, it is time to turn off sgml mode, and get rid of entities as well.
* docs: use apostrophe in *'veWilliam Jon McCann2014-02-071-1/+1
|
* docs: use apostrophes in *n'tWilliam Jon McCann2014-02-071-1/+1
|
* docs: use proper quotesWilliam Jon McCann2014-02-051-6/+6
|
* Make collate default to enabledAdrian Johnson2012-03-191-2/+3
| | | | Fixes http://bugzilla.gnome.org/show_bug.cgi?id=671898
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* printing: gtk_print_settings_load_key_file() ignores group_nameCarlos Garcia Campos2012-01-111-1/+1
|
* gtk: Use const instead G_CONST_RETURNJavier Jardón2011-06-101-6/+6
|
* Move documentation to inline comments: GtkPrintSettingsJavier Jardón2011-04-181-1/+23
|
* [GI] Add missing (out) and (array) annotationsPavel Holejsovsky2011-01-201-4/+5
|
* [GI] Annotate strings holding file paths as (type filename)Pavel Holejsovsky2011-01-181-3/+3
|
* Remove gtktypeutils altogetherMatthias Clasen2011-01-041-1/+5
| | | | | | Based on patches by Javier Jardón. https://bugzilla.gnome.org/show_bug.cgi?id=629955
* Tons of transfer annotationsMatthias Clasen2010-09-211-9/+9
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-5/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Use g_strcmp0 where it makes senseRafal Luzynski2010-03-161-3/+3
|
* [annotations] Add allow-noneJohan Dahlin2010-02-191-7/+7
| | | | | | | | This commit was created using a script that searched for all docstrings containing a parameter and the string 'or %NULL'. Gdk backends and demos excluded as they are not part of a public API https://bugzilla.gnome.org/show_bug.cgi?id=610474
* [introspection] Merge in Gtk-custom.c annotationsColin Walters2009-12-161-5/+5
| | | | | | | | 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.
* [doc] Add error domains on functions taking a GError**David King2009-12-081-8/+15
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=544706
* Show correct print previewMarek Kasik2009-10-261-1/+1
| | | | | | Modify print preview according to settings from print dialog. Similar approach as during real print is applied to the preview process (#592582).
* Forgotten part of the lpi changeMatthias Clasen2009-08-301-4/+4
|
* Add ability to print selectionMarek Kasik2009-06-081-0/+6
| | | | | | | | | | | | | | | | | | | | | | 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().
* Doc fixesMatthias Clasen2008-12-291-2/+2
| | | | svn path=/trunk/; revision=21968
* Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printingMarek Kasik2008-10-301-1/+97
| | | | | | | | | | | | | | | | | | | 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
* Doc improvementsMatthias Clasen2008-09-171-2/+4
| | | | svn path=/trunk/; revision=21412
* Add nicks for the GtkNumberUpLayout values.Matthias Clasen2008-09-041-54/+19
| | | | | | | | | | | | | | | | | 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
* Fix ordering of includesMatthias Clasen2008-09-031-1/+1
| | | | svn path=/trunk/; revision=21267
* Bug 535158 – can't rearrange the order of multi pages per sideMarek Kasik2008-08-211-0/+103
| | | | | | | | | | | | | | | | | 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
* Revert name changeCody Russell2008-07-011-1/+1
| | | | svn path=/trunk/; revision=20724
* Practically everything changed.Cody Russell2008-06-301-1/+1
| | | | | | | | | | | | | 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
* Go back to 2.13.0 as version for now, as there was no consensus to do theMatthias Clasen2008-02-151-2/+2
| | | | | | | | | | | | | 2008-02-15 Matthias Clasen <mclasen@redhat.com> * configure.in: Go back to 2.13.0 as version for now, as there was no consensus to do the jump. * many other places: Update Since: tags. svn path=/trunk/; revision=19586
* Allow to store half-open ranges.Matthias Clasen2008-02-061-2/+0
| | | | | | | | | | | 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
* Correct "Since:" tags for GtkPageSetup and GtkPrintSettings asMathias Hasselmann2007-12-141-2/+2
| | | | | | | | next stable release shall be 2.16, not 2.14 - even if disagree. * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/ svn path=/trunk/; revision=19179
* Extract loading of GtkPageSetup and GtkPrintSettings from their *_new_*()Mathias Hasselmann2007-12-141-26/+83
| | | | | | | | | | | 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
* Document new apiMatthias Clasen2007-05-261-2/+4
| | | | svn path=/trunk/; revision=17932
* Add a new error codeMatthias Clasen2007-04-291-0/+186
| | | | | | | | | | | | | | | | | | | | | 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
* fix a typoMatthias Clasen2006-10-031-1/+1
|
* Fix a memleakMatthias Clasen2006-07-231-0/+2
|
* Documentation updates.Matthias Clasen2006-06-301-1/+2
| | | | | | | | | | 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)
* broken pipeMatthias Clasen2006-06-201-35/+0
|
* Fix build errors.Alexander Larsson2006-05-121-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Match parameter names with the headers.Matthias Clasen2006-04-241-9/+9
| | | | | | | | | | | | | | | | | | | 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.
* Add gtkprintutils.[hc]Matthias Clasen2006-04-231-42/+3
| | | | | | | | | | | | | | | | | 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.
* more docsMatthias Clasen2006-04-231-4/+350
|
* Merge the gtk-printing branch. For more detailed ChangeLog entries, seeAlexander Larsson2006-04-211-0/+1230
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.