1. 27 May, 2008 1 commit
  2. 25 May, 2008 1 commit
    • Sven Neumann's avatar
      respect the GTK_NO_WINDOW flag and don't create an output window if it is · d0ffa630
      Sven Neumann authored
      2008-05-25  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
      	(gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
      	and don't create an output window if it is set.
      
      	* gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
      	drawing areas. Fixes bug #519317.
      
      
      svn path=/trunk/; revision=20148
      d0ffa630
  3. 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
  4. 13 Mar, 2008 2 commits
  5. 12 Mar, 2008 1 commit
  6. 28 Jan, 2008 1 commit
  7. 31 Dec, 2007 1 commit
    • Christian Persch's avatar
      Plug a mem leak. Bug #506107. · 88e5b9d2
      Christian Persch authored
      2007-12-31  Christian Persch  <chpe@gnome.org>
      
      	* gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
      	Plug a mem leak. Bug #506107.
      
      svn path=/trunk/; revision=19290
      88e5b9d2
  8. 07 Dec, 2007 1 commit
  9. 26 Nov, 2007 1 commit
  10. 07 Sep, 2007 1 commit
  11. 24 Jul, 2007 1 commit
  12. 28 May, 2007 1 commit
    • Carlos Garcia Campos's avatar
      Add new capability GTK_PRINT_CAPABILITY_NUMBER_UP. · eb7f97bb
      Carlos Garcia Campos authored
      2007-05-28  Carlos Garcia Campos  <carlosgc@gnome.org>
      	* gtk/gtkprinter.[ch]: Add new capability
      	GTK_PRINT_CAPABILITY_NUMBER_UP.
      	* docs/reference/gtk/tmpl/gtkprintunixdialog.sgml: 
      	* gtk/gtkprintunixdialog.c: (update_dialog_from_capabilities):
      	* modules/printbackends/file/gtkprintbackendfile.c:
      	(file_printer_get_options), (file_printer_get_settings_from_options):
      	* modules/printbackends/cups/gtkprintbackendcups.c:
      	(cups_printer_get_capabilities): Add a new print capability to specify
      	whether print dialog will offer printing multiple pages per sheet. (#398414)
      
      svn path=/trunk/; revision=17963
      eb7f97bb
  13. 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
  14. 30 Apr, 2007 2 commits
    • Christian Persch's avatar
      Make gtk_printer_get_capabilities public, and move the · be87e9a8
      Christian Persch authored
      2007-04-30  Christian Persch  <chpe@gnome.org>
      
      	* docs/reference/gtk/gtk-sections.txt:
      	* gtk/gtk.symbols:
      	* gtk/gtkprinter-private.h:
      	* gtk/gtkprinter.c: (gtk_printer_get_capabilities),
      	(gtk_print_capabilities_get_type):
      	* gtk/gtkprinter.h:
      	* gtk/gtkprintunixdialog.c: (selected_printer_changed):
      	Make gtk_printer_get_capabilities public, and move the
      	GtkPrintCapabilities definition to gtkprinter.h. Bug #390437.
      
      svn path=/trunk/; revision=17746
      be87e9a8
    • Matthias Clasen's avatar
      Fix some compiler warnings. (#433642, Kjartan Maraas) · 6573ed5f
      Matthias Clasen authored
      2007-04-30  Matthias Clasen  <mclasen@redhat.com>
      
              Fix some compiler warnings.  (#433642, Kjartan Maraas)
      
              * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info):
              (gtk_file_system_win32_create_folder):
              * gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion.
      
              * gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass
              the right type to uri_func.
      
              * gtk/gtktext.c (gtk_text_key_press):
              * gtk/gtkstatusicon.c (gtk_status_icon_get_property):
              * gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts.
      
              * gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed):
              (gtk_tray_icon_delete):
              * gtk/gtkprintunixdialog.c (create_main_page):
              * gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables.
      
              * gtk/gtkliststore.c: Adapt callbacks to GSequence types.
      
      
      svn path=/trunk/; revision=17739
      6573ed5f
  15. 29 Apr, 2007 2 commits
  16. 24 Apr, 2007 1 commit
    • Matthias Clasen's avatar
      Parse half-open ranges like -2 or 3-, and be a bit more liberal about · 8f409578
      Matthias Clasen authored
      2007-04-24  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
              half-open ranges like -2 or 3-, and be a bit more liberal
              about whitespace.
              (dialog_set_page_ranges): Support half-open ranges.
      
              * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
              number of pages in half-open ranges.
              (preview_iface_is_selected): Support half-open ranges here, too.
      
      
      
      svn path=/trunk/; revision=17627
      8f409578
  17. 16 Mar, 2007 1 commit
  18. 26 Feb, 2007 1 commit
  19. 22 Dec, 2006 1 commit
  20. 20 Dec, 2006 1 commit
  21. 06 Dec, 2006 1 commit
  22. 08 Oct, 2006 1 commit
    • Matthias Clasen's avatar
      Fix a typo. (#359542, Ghee Teo) · 192f2ec2
      Matthias Clasen authored
      2006-10-08  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
      	a typo.  (#359542, Ghee Teo)
      192f2ec2
  23. 17 Aug, 2006 2 commits
  24. 30 Jun, 2006 2 commits
    • Matthias Clasen's avatar
      Documentation updates. · a3bfbe23
      Matthias Clasen authored
      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)
      a3bfbe23
    • Matthias Clasen's avatar
      Add a preview capability · 86600653
      Matthias Clasen authored
      86600653
  25. 29 Jun, 2006 1 commit
    • Matthias Clasen's avatar
      Documentation additions and fixes. · f8f93845
      Matthias Clasen authored
      2006-06-28  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkprinter.c:
              * gtk/gtkprintunixdialog.c:
              * gtk/gtkprintoperationpreview.c:
              * gtk/gtkprintcontext.c (gtk_print_context_set_cairo_context):
              * gtk/gtklabel.c (gtk_label_set_line_wrap_mode):
              * gtk/gtkentry.c (gtk_entry_new):
              * gtk/gtkprintoperation.c (gtk_print_operation_set_custom_tab_label):
              * gtk/gtkclipboard.c (gtk_clipboard_wait_for_rich_text): Documentation
              additions and fixes.
      
              * gtk/gtkaspectframe.h:
              * gtk/gtkaboutdialog.c:
              * gtk/gtkcalendar.c:
              * gtk/gtkinputdialog.c:
              * gtk/gtk.symbols: Remove unnecessary includes.
      
              * gtk/gtkprogress.[hc]:
              * gtk/gtkitemfactory.[hc]: Don't unnecessarily use GTK_COMPILATION,
              remove unnecessary includes.
      f8f93845
  26. 19 Jun, 2006 2 commits
  27. 17 Jun, 2006 1 commit
    • Matthias Clasen's avatar
      ~ · 9ee7d66f
      Matthias Clasen authored
      2006-06-17  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintunixdialog.c: Clean up the handling of
      	printer-specific options. There is just one extension point on the
      	main tab now, and all options in the GtkPrintDialogExtension
      	group are put there.
      9ee7d66f
  28. 16 Jun, 2006 2 commits
  29. 12 Jun, 2006 3 commits
    • Matthias Clasen's avatar
      Use gtk_printer_accepts_ps here. · 809c8d56
      Matthias Clasen authored
      2006-06-12  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintunixdialog.c (is_printer_active): Use
      	gtk_printer_accepts_ps here.
      
      	* modules/printbackends/pdf/gtkprintbackendpdf.c (gtk_print_backend_pdf_init):
      	Mark the virtual "Print to PDF" printer as not accepting PS.
      
      	* gtk/gtk.symbols:
      	* gtk/gtkprinter.h:
      	* gtk/gtkprinter.c: Add two new properties accepts-pdf and
      	accepts-ps (with getters) to allow learning supported formats.
      809c8d56
    • Matthias Clasen's avatar
      Add a GTK_PRINT_CAPABILITY_GENERATE_PDF capability. · c6d1d9dd
      Matthias Clasen authored
      2006-06-12  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintjob.h: Add a GTK_PRINT_CAPABILITY_GENERATE_PDF
      	capability.
      
      	* gtk/gtkprintunixdialog.c: Use it here to hide "Print to PDF"
      	from the printer list.  (#339592, Christian Persch)
      c6d1d9dd
    • 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
  30. 08 Jun, 2006 1 commit
    • Matthias Clasen's avatar
      Don't include gtkprinter-private.h here. · 480803d5
      Matthias Clasen authored
      2006-06-08  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintbackend.h: Don't include gtkprinter-private.h here.
      
      	* gtk/gtkprintunixdialog.c:
      	* gtk/gtkprintoperation-unix.c:
      	* gtk/gtkprintjob.c:
      	* gtk/gtkprintbackend.c: Instead include it here.
      
      	* gtk/gtk.symbols:
      	* gtk/gtkprintoperation.h:
      	* gtk/gtkprintoperation.c: Rename pdf_target to export_filename.
      480803d5
  31. 02 Jun, 2006 1 commit
    • Alexander Larsson's avatar
      Add gtkprintoperationpreview.[ch] Set default preview command. Hardcoded · fad69ba0
      Alexander Larsson authored
      2006-06-02  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/Makefile.am:
      	Add gtkprintoperationpreview.[ch]
      	Set default preview command. Hardcoded for now.
      
      	* gtk/gtkmarshalers.list:
      	Add BOOLEAN:OBJECT,OBJECT,OBJECT
      
      	* gtk/gtkprintbackend.c:
      	Add preview command property.
      
      	* gtk/gtkprintcontext.[ch]:
      	Make less dependent on PrintOperation for output settings
      	Externally set cairo_t and dpi. Resettable.
      	Create fontmap without metrics hinting (so that print preview
      	text layout doesn't depend on zoom level).
      
      	* gtk/gtkprintoperation-private.h:
      	* gtk/gtkprintoperation-unix.c:
      	* gtk/gtkprintoperation.[ch]:
      	Initial work on print preview API and default implementation
      	using an external preview app.
      
      	* gtk/gtkprintoperation-win32.c:
      	Some needed updates. Not done, needs more work.
      
      	* gtk/gtkprintoperationpreview.[ch]:
      	New interface used in print preview api.
      
      	* gtk/gtkprintunixdialog.c:
      	Add print preview dialog.
      
      	* tests/print-editor.c:
      	Test using an custom print preview widget.
      fad69ba0