1. 19 Jun, 2006 6 commits
    • Matthias Clasen's avatar
      Another forgotten change. · 6b67e2b6
      Matthias Clasen authored
      6b67e2b6
    • Matthias Clasen's avatar
      Forgotten file · 3742f415
      Matthias Clasen authored
      3742f415
    • Matthias Clasen's avatar
      Add a capabilities argument to the printer_get_options method and to the · 7a44ce33
      Matthias Clasen authored
      2006-06-19  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprinter-private.h:
      	* gtk/gtkprinter.c (_gtk_printer_get_options):
      	* gtk/gtkprintbackend.h: Add a capabilities argument to the
      	printer_get_options method and to the _gtk_printer_get_options
      	function
      
      	* modules/printbackends/lpr/gtkprintbackendlpr.c
      	(lpr_printer_get_options):
      	* modules/printbackends/pdf/gtkprintbackendpdf.c
      	(pdf_printer_get_options):
      	* modules/printbackends/cups/gtkprintbackendcups.c
      	(cups_printer_get_options):
      	* gtk/gtkprintunixdialog.c (selected_printer_changed): Adjust
      	callers and implementations.
      7a44ce33
    • Matthias Clasen's avatar
      Add a GENERATE_PS capability. And use it here. · 2858512e
      Matthias Clasen authored
      2006-06-19  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintjob.h: Add a GENERATE_PS capability.
      	* gtk/gtkprintunixdialog.c (is_printer_active): And use it here.
      2858512e
    • Matthias Clasen's avatar
      Don't open a display connection. · e6cdab1b
      Matthias Clasen authored
      2006-06-18  Matthias Clasen  <mclasen@redhat.com>
      
      	* tests/testnouiprint.c (main): Don't open a display connection.
      
      	* gtk/gtkprintbackend.c (gtk_print_backend_load_modules): Make
      	this work without a display connection.  (339702, Alexander Larsson)
      e6cdab1b
    • Matthias Clasen's avatar
      doc improvement · b57f1571
      Matthias Clasen authored
      b57f1571
  2. 17 Jun, 2006 2 commits
    • 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
    • Matthias Clasen's avatar
      Add GTK_PRINTER_OPTION_TYPE_ALTERNATIVE which is semantically the same as · 320660fb
      Matthias Clasen authored
      2006-06-17  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprinteroption.h:
      	* gtk/gtkprinteroption.c: Add GTK_PRINTER_OPTION_TYPE_ALTERNATIVE
      	which is semantically the same as PICKONE, but is intended to
      	show all options all the time.
      
      	* gtk/gtkprinteroptionwidget.c: Implement ALTERNATIVE as radio
      	group.
      320660fb
  3. 16 Jun, 2006 12 commits
    • Matthias Clasen's avatar
      Fix a warning · f09e64b3
      Matthias Clasen authored
      f09e64b3
    • Matthias Clasen's avatar
      Don't grow additional columns. · b69212f6
      Matthias Clasen authored
      2006-06-16  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintunixdialog.c (add_option_to_table): Don't grow
      	additional columns.
      b69212f6
    • Matthias Clasen's avatar
      Add a GtkPrintSettings parameter to the printer_create_cairo_surface · 956bcb43
      Matthias Clasen authored
      2006-06-16  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintbackend.h: Add a GtkPrintSettings parameter to the
      	printer_create_cairo_surface method.
      
      	* modules/printbackends/pdf/gtkprintbackendpdf.c:
      	* modules/printbackends/cups/gtkprintbackendcups.c:
      	* modules/printbackends/lpr/gtkprintbackendlpr.c:
      	* gtk/gtkprinter.c (_gtk_printer_create_cairo_surface):
      	* gtk/gtkprinter-private.h:
      	* gtk/gtkprintjob.c (gtk_print_job_get_surface): Adapt all users.
      956bcb43
    • Matthias Clasen's avatar
      Don't leak match data. (#345107, Christian Weiske) · a0063d39
      Matthias Clasen authored
      2006-06-16  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkentrycompletion.c (gtk_entry_completion_finalize): Don't
      	leak match data.  (#345107,  Christian Weiske)
      a0063d39
    • Matthias Clasen's avatar
      Move the conflict label out of the button box. (#339456, Christian Persch) · bae05d11
      Matthias Clasen authored
      2006-06-16  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintunixdialog.c (populate_dialog): Move the conflict
      	label out of the button box.  (#339456, Christian Persch)
      bae05d11
    • Matthias Clasen's avatar
      Ignore unmapped widgets when ignore_hidden is TRUE. (#344707, Christian · 60b0d8d6
      Matthias Clasen authored
      2006-06-16  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtksizegroup.c (compute_dimension): Ignore unmapped widgets
      	when ignore_hidden is TRUE.  (#344707, Christian Persch)
      60b0d8d6
    • Matthias Clasen's avatar
      Require cvs glib. · 92bbb2fe
      Matthias Clasen authored
      2006-06-16  Matthias Clasen  <mclasen@redhat.com>
      
      	* configure.in: Require cvs glib.
      
      	* gtk/gtkprintoperation-unix.c:
      	(_gtk_print_operation_platform_backend_create_preview_surface):
      	Don't use a temporary directory for preview files, since it
      	is not clear who cleans it up. Instead, use g_mkstemp() directly
      	to create a temp pdf file, and make the preview app responsible
      	for cleaning it up.
      92bbb2fe
    • Matthias Clasen's avatar
      Move the registration of the gtk-print-preview-command setting from · 0b05edb0
      Matthias Clasen authored
      2006-06-16  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintoperation-unix.c:
      	* gtk/gtkprintbackend.c: Move the registration of the
      	gtk-print-preview-command setting from gtkprintbackend.c to
      	gtkprintoperation-unix.c, to make sure it is registered before
      	the first use. Also, document the two settings.
      0b05edb0
    • Matthias Clasen's avatar
      When starting a preview from the print dialog, set the action to PREVIEW. · 44f85d47
      Matthias Clasen authored
      2006-06-16  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintoperation-unix.c (handle_print_response): When starting
      	a preview from the print dialog, set the action to PREVIEW.
      
      	* gtk/gtkprintoperation.c: Cosmetic changes.
      44f85d47
    • Matthias Clasen's avatar
      Mark preview filename as translatable. · bc4d3339
      Matthias Clasen authored
      bc4d3339
    • Tim Janik's avatar
      Move activity bar offset and size calculations to separate function. · de15bb09
      Tim Janik authored
      Fri Jun 16 11:49:53 2006  Tim Janik  <timj@imendio.com>
      
              * fixed #337882 by applying patches from Tommi Komulainen:
      
              * gtk/gtkprogressbar.c:
              (gtk_progress_bar_paint_activity):
              (gtk_progress_bar_get_activity): Move activity bar offset and size
              calculations to separate function.
              (gtk_progress_bar_paint_text): Allow caller to specify offset for the
              prelight part in addition to width.
              (gtk_progress_bar_paint): Paint the text also in activity mode, #337882.
      
              * gtk/gtkprogressbar.c: (gtk_progress_bar_paint_text): Paint the
              prelighted text on top of the normal rather than side by side, to
              simplify painting text in activity mode.
      de15bb09
    • Matthias Clasen's avatar
      make print-to-pdf show up again · da191d13
      Matthias Clasen authored
      da191d13
  4. 15 Jun, 2006 2 commits
    • Carlos Garnacho's avatar
      use gdk_window_get_pointer() to get pointer coordinates, but limit its · 664b8c7b
      Carlos Garnacho authored
      2006-06-15  Carlos Garnacho  <carlosg@gnome.org>
      
              * gtk/gtknotebook.c (gtk_notebook_motion_notify): use
              gdk_window_get_pointer() to get pointer coordinates, but limit its
              calls to a maximum of 45 times per second for not being too
              CPU/network abusive. stop drag operation if (event->state &
              GDK_BUTTON1_MASK) is FALSE to prevent tabs from "adhering" to the
              pointer. Fixes bug #341571
              (gtk_notebook_calculate_tabs_allocation), (gtk_notebook_button_press):
              get rid of the "tab jumps to pointer" sensation when beginning a drag
              by using the pointer offset in the tab when the drag begins as an
              anchor.
              (gtk_notebook_redraw_tabs_union): remove, it wasn't worth the little
              performance gain and could draw artifacts under some circumstances.
              (gtk_notebook_drag_end): do not reparent the detached tab label until
              the animation has ended.
      664b8c7b
    • Matthias Clasen's avatar
      fix 344891 · 9c1cb391
      Matthias Clasen authored
      9c1cb391
  5. 14 Jun, 2006 4 commits
  6. 13 Jun, 2006 1 commit
  7. 12 Jun, 2006 10 commits
    • Kristian Rietveld's avatar
      Introduce grid and tree lines in GtkTreeView. (#106406, Martyn Russell). · 7a6a6ebc
      Kristian Rietveld authored
      2006-06-12  Kristian Rietveld  <kris@imendio.com>
      
      	Introduce grid and tree lines in GtkTreeView. (#106406,
      	Martyn Russell).
      
      	* gtk/gtktreeprivate.h: add new fields to GtkTreePrivate.
      
      	* gtk/gtkenums.h: add GtkTreeViewGridLines.
      
      	* gtk/gtktreeview.[ch] (gtk_tree_view_set_grid_lines),
      	(gtk_tree_view_get_grid_lines),
      	(gtk_tree_view_set_enable_tree_lines),
      	(gtk_tree_view_get_enable_tree_lines): new API,
      	(gtk_tree_view_class_init): new properties,
      	(gtk_tree_view_init), (gtk_tree_view_{get,set}_property),
      	(gtk_tree_view_realize), (gtk_tree_view_draw_grid_lines),
      	(gtk_tree_view_bin_expose): implement.
      
      	* gtk/gtk.symbols: update.
      7a6a6ebc
    • 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
      Add support for pasting filenames into the filechooser. (#153212, Bastian · 8d22851a
      Matthias Clasen authored
      2006-06-12  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilechooserdefault.c: Add support for pasting
      	filenames into the filechooser.  (#153212, Bastian Nocera)
      8d22851a
    • Kristian Rietveld's avatar
      report status in return value instead of spewing assertions. (#335729, · 563f28a8
      Kristian Rietveld authored
      2006-06-12  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtktreemodelfilter.[ch]
      	(gtk_tree_model_filter_convert_child_iter_to_iter),
      	(gtk_tree_model_filter_convert_child_path_to_path): report status
      	in return value instead of spewing assertions.  (#335729, Yevgen
      	Muntyan).
      563f28a8
    • Matthias Clasen's avatar
      Clean up user data. (#344624, Christian Weiske) · 6bc87f5d
      Matthias Clasen authored
      2006-06-12  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_finalize):
      	Clean up user data.  (#344624, Christian Weiske)
      6bc87f5d
    • 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
    • Matthias Clasen's avatar
      Add an accessible implementation in order to make the buttons visible to · 12ea9660
      Matthias Clasen authored
      2006-06-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkassistant.c: Add an accessible implementation in
      	order to make the buttons visible to a11y tools.  (pointed out
      	by David Malcolm)
      12ea9660
    • Matthias Clasen's avatar
      store scale in percent · 35756b38
      Matthias Clasen authored
      35756b38
    • Matthias Clasen's avatar
      Fix #344543 · df882a32
      Matthias Clasen authored
      df882a32
  8. 11 Jun, 2006 3 commits