1. 20 Jan, 2011 1 commit
  2. 02 Nov, 2010 1 commit
  3. 31 Oct, 2010 1 commit
  4. 30 Oct, 2010 2 commits
  5. 22 Oct, 2010 1 commit
  6. 02 Sep, 2010 1 commit
  7. 13 Jul, 2010 2 commits
  8. 10 Jul, 2010 1 commit
  9. 12 May, 2010 1 commit
  10. 04 Apr, 2010 2 commits
  11. 19 Feb, 2010 1 commit
  12. 18 Jan, 2010 1 commit
  13. 20 Jul, 2009 2 commits
  14. 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
  15. 21 May, 2008 1 commit
    • Matthias Clasen's avatar
      RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size · 59ae44d0
      Matthias Clasen authored
              was chosen
      
              Patch by Marek Kasik.
      
              * gtk/gtk.symbols:
              * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
      
              * gtk/gtkprintbackend.[hc]: Add fallback implementation.
      
              * modules/printbackends/file/gtkprintbackendfile.c:
              * modules/printbackends/cups/gtkprintbackendcups.c: Implement
              get_default_page_size.
      
              * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
              select its default paper size.
      
              * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
              use the printer default.
      
              * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
              if we don't have a default page setup.
      
      svn path=/trunk/; revision=20120
      59ae44d0
  16. 06 Jan, 2008 1 commit
  17. 07 Dec, 2007 1 commit
  18. 24 Jul, 2007 1 commit
  19. 23 May, 2007 1 commit
    • Yevgen Muntyan's avatar
      missing #include <ctype.h>. · 1a534510
      Yevgen Muntyan authored
      2007-05-23  Yevgen Muntyan  <muntyan@tamu.edu>
      
      	* gtk/gtkprintunixdialog.c: missing #include <ctype.h>.
      
      	* gtk/gtkhandlebox.c (gtk_handle_box_paint):
      	* gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers):
      	* gtk/gtkstatusbar.c (gtk_statusbar_get_context_id):
      	* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path):
      	* gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request):
      	* gtk/gtkpreview.c (gtk_preview_finalize):
      	* gtk/gtknotebook.c (gtk_notebook_set_group_id):
      	* tests/testnotebookdnd.c (window_creation_function):
      	* tests/testiconview.c (do_popup_menu):
      	Fixed some compiler warnings (#440689).
      
      svn path=/trunk/; revision=17898
      1a534510
  20. 30 Apr, 2007 1 commit
    • Matthias Clasen's avatar
      Rename gtk_paper_size_get_builtins() to gtk_paper_size_get_paper_sizes() · 7253a5a2
      Matthias Clasen authored
      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
      7253a5a2
  21. 29 Apr, 2007 3 commits
    • 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
    • Matthias Clasen's avatar
      Free the custom paper list. (#403267, Felix Riemann) · ea3667c4
      Matthias Clasen authored
      2007-04-29  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
              Free the custom paper list.  (#403267, Felix Riemann)
      
      
      
      svn path=/trunk/; revision=17695
      ea3667c4
    • Matthias Clasen's avatar
      Make gtk_printer_has_details() and gtk_printer_request_details() public. · bcbbbe51
      Matthias Clasen authored
      2007-04-29  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtk.symbols:
              * gtk/gtkprinter-private.h:
              * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and
              gtk_printer_request_details() public.
      
              * gtk/gtkpagesetupunixdialog.c:
              * gtk/gtkprintunixdialog.c: Update callers.  (#389203,
              Christian Persch)
      
      
      
      svn path=/trunk/; revision=17690
      bcbbbe51
  22. 25 Dec, 2006 1 commit
    • Christian Persch's avatar
      Fix mem leaks. Bug #389194. · fca708fb
      Christian Persch authored
      2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
      
      	* gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
      	(add_custom_paper): Fix mem leaks. Bug #389194.
      fca708fb
  23. 24 Dec, 2006 2 commits
  24. 03 Oct, 2006 1 commit
  25. 14 Jun, 2006 1 commit
  26. 12 Jun, 2006 1 commit
    • Matthias Clasen's avatar
      Cosmetic cleanups. · 01e3463f
      Matthias Clasen authored
      2006-06-12  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintjob.c:
      	* gtk/gtkprintbackend.c:
      	* gtk/gtkpagesetupunixdialog.c:
      	* gtk/gtkprintunixdialog.c: Cosmetic cleanups.
      01e3463f
  27. 01 Jun, 2006 1 commit
  28. 31 May, 2006 2 commits
  29. 16 May, 2006 1 commit
    • Matthias Clasen's avatar
      Add labels for page orientations, also add the fourth one. (#339589) · 968149a9
      Matthias Clasen authored
      2006-05-16  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkpagesetupunixdialog.c (populate_dialog): Add labels
      	for page orientations, also add the fourth one.  (#339589)
      
      	* gtk/stock-icons/24/gtk-orientation-reverse-portrait.png: New
      	icon.
      
      	* gtk/Makefile.am: Add it here.
      
      	* gtk/gtkstock.[hc]: Add stock items for the page orientations.
      968149a9
  30. 14 May, 2006 1 commit
  31. 10 May, 2006 1 commit
  32. 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