summaryrefslogtreecommitdiff
path: root/gtk/gtkpapersize.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Use g_set_error_literal where appropriate. Bug #538640.Christian Persch2008-06-191-8/+8
| | | | svn path=/trunk/; revision=20463
* Fix some i18n errors. Pointed out by Behdad Esfahbod.Matthias Clasen2008-02-121-1/+1
| | | | | | | | | | | | | | 2008-02-12 Matthias Clasen <mclasne@redhat.com> * gtk/gtkpapersize.c: * gtk/gtkprintoperation.c: * gtk/gtkvolumebutton.c: * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed out by Behdad Esfahbod. svn path=/trunk/; revision=19547
* document new apiMatthias Clasen2007-05-261-11/+13
| | | | svn path=/trunk/; revision=17931
* Put only GtkPaperSizes into the list, don't mix it with GtkPageSetups. BugChristian Persch2007-05-011-2/+17
| | | | | | | | | | 2007-05-02 Christian Persch <chpe@gnome.org> * gtk/gtkpapersize.c: (gtk_paper_size_get_paper_sizes): Put only GtkPaperSizes into the list, don't mix it with GtkPageSetups. Bug #434861. svn path=/trunk/; revision=17760
* Use GSlice to allocate GtkPaperSize. Bug #434862.Christian Persch2007-05-011-6/+8
| | | | | | | | | | | 2007-05-02 Christian Persch <chpe@gnome.org> * gtk/gtkpapersize.c: (gtk_paper_size_new_from_info), (gtk_paper_size_new), (gtk_paper_size_new_custom), (gtk_paper_size_copy), (gtk_paper_size_free): Use GSlice to allocate GtkPaperSize. Bug #434862. svn path=/trunk/; revision=17759
* _gtk_load_custom_papers() exists only on Unix.Tor Lillqvist2007-04-301-2/+2
| | | | | | | | | | 2007-04-30 Tor Lillqvist <tml@novell.com> * gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes): _gtk_load_custom_papers() exists only on Unix. svn path=/trunk/; revision=17733
* Rename gtk_paper_size_get_builtins() to gtk_paper_size_get_paper_sizes()Matthias Clasen2007-04-301-4/+12
| | | | | | | | | | | | | | | | | | | 2007-04-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkpapersize.[hc]: Rename gtk_paper_size_get_builtins() to gtk_paper_size_get_paper_sizes() and optionally include custom paper sizes. * gtk/gtkpagesetupunixdialog.c: Internally export a function to load custom paper sizes. * modules/printbackends/file/gtkprintbackendfile.c: Implement printer_list_papers, returning all paper sizes. (#434329, Christian Persch) svn path=/trunk/; revision=17728
* Mark paper sizes in the PWG "custom" namespace as custom. Add a link toMatthias Clasen2007-04-301-1/+3
| | | | | | | | | | | | 2007-04-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtkpapersize.c (gtk_paper_size_new): Mark paper sizes in the PWG "custom" namespace as custom. Add a link to the spec in the docs. (#426416, Andreas Guelzow) svn path=/trunk/; revision=17718
* Add a new error codeMatthias Clasen2007-04-291-0/+130
| | | | | | | | | | | | | | | | | | | | | 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
* Add a function to list the builtin paper sizes. (#382355, ChristianMatthias Clasen2007-04-291-0/+27
| | | | | | | | | | | | 2007-04-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkpapersize.[hc]: Add a function to list the builtin paper sizes. (#382355, Christian Persch) svn path=/trunk/; revision=17691
* Internalize some strings, pointed out by Damon Chaplin.Matthias Clasen2007-04-271-1/+1
| | | | | | | | | | | | | | | | 2007-04-27 Matthias Clasen <mclasen@redhat.com> * gtkassistant.c: * gtkiconfactory.c: * gtkiconview.c: * gtkpapersize.c: * gtkrecentmanager.c: * gtktextiter.c: Internalize some strings, pointed out by Damon Chaplin. svn path=/trunk/; revision=17661
* Fix a typo in the docs. (#347041, Kouhei Sutou)Matthias Clasen2006-07-101-1/+1
| | | | | | | 2006-07-10 Matthias Clasen <mclasen@redhat.com> * gtk/gtkpapersize.c (gtk_paper_size_is_equal): Fix a typo in the docs. (#347041, Kouhei Sutou)
* Add prefixes to msgids for paper sizesMatthias Clasen2006-04-251-1/+6
|
* Use g types, add documentation.Matthias Clasen2006-04-231-50/+269
| | | | | | | | 2006-04-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkpapersize.[hc]: Use g types, add documentation. 1
* Add gtkprintutils.[hc]Matthias Clasen2006-04-231-62/+24
| | | | | | | | | | | | | | | | | 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.
* Merge the gtk-printing branch. For more detailed ChangeLog entries, seeAlexander Larsson2006-04-211-0/+551
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.