1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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