1. 15 Jun, 2007 1 commit
    • Hans Breuer's avatar
      updated explicit usage of RegisterClassExW to match the WNDCLASSEXW. True · 49fc7e15
      Hans Breuer authored
      2007-06-15  Hans Breuer <hans@breuer.org>
      
      	* gtk/makefile.msc.in tests/makefile.msc : updated
      	* gdk/win32/gdkwindow-win32.c : explicit usage of RegisterClassExW
      	to match the WNDCLASSEXW. 
      	True dynamic linking of SetLayeredWindowAttributes
      	* tests/testprint.c tests/testnouiprint.c : use G_PI
      
      
      svn path=/trunk/; revision=18140
      49fc7e15
  2. 09 Jun, 2006 1 commit
  3. 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
  4. 31 May, 2006 1 commit
    • Alexander Larsson's avatar
      Further updates from the GtkPrintContext functions rename. · 50d17b73
      Alexander Larsson authored
      2006-05-31  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtk.symbols:
      	* demos/gtk-demo/printing.c:
      	* tests/print-editor.c:
      	* tests/testnouiprint.c:
      	* tests/testprint.c:
      	* tests/testprintfileoperation.c:
      	Further updates from the GtkPrintContext functions rename.
      
      	* modules/printbackends/cups/gtkcupsutils.c:
      	Always set requesting-user-name when doing cups requests.
      50d17b73
  5. 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
  6. 05 May, 2006 1 commit
    • Alexander Larsson's avatar
      Implement per-page paper sizes. · 719050ed
      Alexander Larsson authored
      2006-05-05  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkprintoperation-unix.c:
      	Implement per-page paper sizes.
      
      	* gtk/gtkprintoperation.c:
      	Implement per-page paper sizes for pdf output.
      	Make gtk_print_operation_set_pdf_target() work again
      
      	* tests/Makefile.am:
      	* tests/testprint.c:
      	* tests/testprintfileoperation.[ch]:
      	Add more test code for printing support.
      	This tests per-page paper sizes & orientation and
      	deriving from GtkPrintOperation.
      719050ed
  7. 04 May, 2006 1 commit
    • Alexander Larsson's avatar
      Added new symbols · c36d8f3c
      Alexander Larsson authored
      2006-05-04  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtk.symbols:
      	Added new symbols
      
      	* gtk/gtkpagesetupunixdialog.c:
      	* gtk/gtkprintunixdialog.c:
      	Destroy backends when finalizing dialogs.
      	Fix printer leak in selected_printer_changed.
      
      	* gtk/gtkprintbackend.[ch]:
      	Convert from interface to baseclass.
      	Move printer hashtable here so that the baseclass can handle
      	the slightly complicated ownership model.
      	Add gtk_print_backend_destroy which runs the dispose method,
      	causing the ref-cycles between the backend and its printers
      	to be broken.
      	Add gtk_print_backend_unref_at_idle().
      
      	* gtk/gtkprinter.[ch]:
      	GtkPrinter objects now ref their backend so that its always
      	availible, since its needed for the printer object to work.
      	This causes a reference-cycle that is broken using
      	gtk_print_backend_destroy.
      	Add gtk_printer_compare.
      
      	* gtk/gtkprintoperation-private.h:
      	* gtk/gtkprintoperation-unix.c:
      	* gtk/gtkprintoperation.c:
      	Implement !show_dialog for unix.
      	Make sure the print data is fully spooled before returning
      	from a sync run_dialog.
      
      
      	* modules/printbackends/cups/gtkcupsutils.[ch]:
      	Add gtk_cups_request_ipp_add_strings
      
      	* modules/printbackends/cups/gtkprintbackendcups.c:
      	* modules/printbackends/cups/gtkprintercups.c:
      	* modules/printbackends/lpr/gtkprintbackendlpr.c:
      	* modules/printbackends/pdf/gtkprintbackendpdf.c:
      	Convert backends to derive instead of implementing interface.
      	Move common code into baseclass.
      	CUPS:
      	  Remove the printer polling in dispose, not finalize.
      	  In the cups watch, remove the backend at idle instead of
      	  immediately, since the unref can cause the module to be unloaded.
      	  Limit the number of printer attributes requested
      	  Get printer uri in initial printer listing so that we can use
      	  the printer object immediately.
      
      	* tests/Makefile.am:
      	* tests/testnouiprint.c:
      	Add testcase for !show_dialog.
      c36d8f3c