1. 29 Dec, 2008 1 commit
  2. 19 Dec, 2008 1 commit
    • Marek Kašík's avatar
      Bug 339318 - Allow page rendering to (optionally) happen in a thread · 8ff5d4ff
      Marek Kašík authored
      2008-12-19  Marek Kasik  <mkasik@redhat.com>
      
      	Bug 339318 - Allow page rendering to (optionally) happen in a thread
      
      	* gtk/gtk.symbols: API change
      	* doc/reference/gtk/gtk-sections.txt: API change
      	* gtk/gtkprintoperation-private.h
      	* gtk/gtkprintoperation.h
      	* gtk/gtkprintoperation.c: Adds 2 new functions
      	   gtk_print_operation_set_defer_drawing()
      	     - Sets up the GtkPrintOperation to wait for calling of
      	       gtk_print_operation_draw_page_finish() from application. It can
      	       be used for drawing page in another thread.
      	       This function must be called in the callback of "draw-page"
      	       signal.
      	   gtk_print_operation_draw_page_finish()
      	     - Signalize that drawing of particular page is complete.
      	       It is called after completion of page drawing (e.g. drawing
      	       in another thread).
      	       If gtk_print_operation_set_defer_drawing() was called before,
      	       then this function has to be called by application. In another
      	       case it is called by the library itself.
      
      svn path=/trunk/; revision=21913
      8ff5d4ff
  3. 05 Dec, 2008 1 commit
    • Michael Natterer's avatar
      Bug 546285 – Allow GtkEntry to draw progress · 9b598898
      Michael Natterer authored
      2008-12-05  Michael Natterer  <mitch@imendio.com>
      
      	Bug 546285 – Allow GtkEntry to draw progress
      
      	* gtk/gtkentry.[ch]: add new API similar to GtkProgressBar which
      	allows to set the entry's progress_fraction, its progress_pulse_step
      	and to let the entry's progress pulse.
      
      	* gtk/gtk.symbols: updated.
      
      	* tests/testgtk.c: add progress demo code to the "Entry" window.
      
      
      svn path=/trunk/; revision=21846
      9b598898
  4. 11 Nov, 2008 2 commits
    • Michael Natterer's avatar
      Bug 553765 – Add orientation API to GtkRange · 8121c60d
      Michael Natterer authored
      2008-11-11  Michael Natterer  <mitch@imendio.com>
      
      	Bug 553765 – Add orientation API to GtkRange
      
      	* gtk/gtkrange.[ch]: implement the GtkOrientable interface. Add
      	evil code that makes sure that the stepper_detail and slider_detail
      	set in GtkRangeClass continue to work with the hacked subclasses
      	below.
      
      	* gtk/gtkscale.[ch]: swallow all code from GtkHScale and GtkVScale
      	and add gtk_scale_new() and gtk_scale_new_with_range() which take
      	a GtkOrientation argument. Set slider_detail to "Xscale" so above
      	evil code works.
      
      	* gtk/gtkscrollbar.[ch]: add gtk_scrollbar_new() which takes a
      	GtkOrientation argument. Set stepper_detail to "Xscrollbar" so
      	above evil code works.
      
      	* gtk/gtkhscale.c
      	* gtk/gtkvscale.c
      	* gtk/gtkhscrollbar.c
      	* gtk/gtkvscrollbar.c: remove all code except the constructor and
      	call gtk_orientable_set_orientation() in init().
      
      	* gtk/gtk.symbols: changed accordingly.
      
      
      svn path=/trunk/; revision=21780
      8121c60d
    • Michael Natterer's avatar
      implement the GtkOrientable interface and deprecate · 8004fcbf
      Michael Natterer authored
      2008-11-11  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtktoolbar.[ch]: implement the GtkOrientable interface
      	and deprecate gtk_toolbar_get,set_orientation().
      
      	* gtk/gtk.symbols: changed accordingly.
      
      
      svn path=/trunk/; revision=21777
      8004fcbf
  5. 07 Nov, 2008 1 commit
    • Michael Natterer's avatar
      Bug 553586 – Add orientation API to GtkPaned · 59f07038
      Michael Natterer authored
      2008-11-07  Michael Natterer  <mitch@gimp.org>
      
      	Bug 553586 – Add orientation API to GtkPaned
      
      	* gtk/gtkpaned.[ch]: implement the GtkOrientable interface
      	and swallow all code from GtkHPaned and GtkVPaned. Add
      	gtk_paned_new() which takes a GtkOrientation argument. Deprecate
      	gtk_paned_compute_position() for good (also for GTK_COMPILATION).
      
      	* gtk/gtkhpaned.[ch]
      	* gtk/gtkvpaned.[ch]: remove all code except the constructor and
      	call gtk_orientable_set_orientation() in init().
      
      	* gtk/gtk.symbols: add gtk_box_new().
      
      
      svn path=/trunk/; revision=21772
      59f07038
  6. 03 Nov, 2008 1 commit
  7. 01 Nov, 2008 1 commit
    • Matthias Clasen's avatar
      Bug 412134 – Add API to query style properties from the style · 4f8f2881
      Matthias Clasen authored
      2008-11-01  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 412134 – Add API to query style properties from the style
      
              * gtk/gtk.symbols:
              * gtk/gtkstyle.[hc]: Add getters for style properties to
              avoid the need for ugly workarounds with dummy widget instances.
              Patch by Mariano Suárez-Alvarez
      
      svn path=/trunk/; revision=21744
      4f8f2881
  8. 31 Oct, 2008 1 commit
  9. 30 Oct, 2008 1 commit
    • Marek Kašík's avatar
      Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing · a3b07ac9
      Marek Kašík authored
      2008-10-30  Marek Kasik  <mkasik@redhat.com>
      
      	Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing
      
      	* gtk/gtk.symbols
      	* gtk/gtkprintsettings.c
      	* gtk/gtkprintsettings.h
      	* docs/reference/gtk/gtk-sections.txt
      	* modules/printbackends/file/gtkprintbackendfile.c
      	* modules/printbackends/test/gtkprintbackendtest.c
      	* modules/printbackends/cups/gtkprintbackendcups.c
      	* modules/printbackends/lpr/gtkprintbackendlpr.c:
      	Added lpi (lines per inch) setting to GtkPrintSettings and support
      	for anamorphic dpi. Surface fallback resolution is set to 2*lpi.
      
      svn path=/trunk/; revision=21733
      a3b07ac9
  10. 07 Oct, 2008 2 commits
    • 11:03:30  Tim Janik's avatar
      keep GtkBox as an abstract type and keep _gtk_box_new() as private · ddd556af
      11:03:30 Tim Janik authored
      2008-10-07 11:03:30  Tim Janik  <timj@imendio.com>
      
              * gtk/gtkbox.h: keep GtkBox as an abstract type and keep _gtk_box_new()
              as private function until we settle on the exact semantics.
              renamed _gtk_box_set_old_defaults() as suggested by Mitch.
      
      
      svn path=/trunk/; revision=21599
      ddd556af
    • Michael Natterer's avatar
      Bug 553573 – Add orientation API to GtkBox · 97a9867c
      Michael Natterer authored
      2008-10-07  Michael Natterer  <mitch@imendio.com>
      
      	Bug 553573 – Add orientation API to GtkBox
      
      	* gtk/gtkbox.[hh]: implement the GtkOrientable interface and
      	swallow all code from GtkHBox and GtkVBox. Add gtk_box_new()
      	which takes a GtkOrientation argument. Also move the newly
      	added "spacing_set" boolean from struct GtkBox to the new
      	private struct.
      
      	* gtk/gtkhbox.[ch]
      	* gtk/gtkvbox.[ch]: remove all code except the constructor and
      	call gtk_orientable_set_orientation() in init().
      
      	* gtk/gtk.symbols: add gtk_box_new().
      
      
      svn path=/trunk/; revision=21596
      97a9867c
  11. 06 Oct, 2008 1 commit
  12. 02 Oct, 2008 1 commit
    • Michael Natterer's avatar
      Bug 553585 – Add orientation API to GtkRuler · 2accfccc
      Michael Natterer authored
      2008-10-02  Michael Natterer  <mitch@imendio.com>
      
      	Bug 553585 – Add orientation API to GtkRuler
      
      	* gtk/gtkruler.[ch]: implement the GtkOrientable interface and
      	swallow all code from GtkHRuler and GtkVRuler. Add gtk_ruler_new()
      	which takes a GtkOrientation argument.
      
      	* gtk/gtkhruler.c
      	* gtk/gtkvruler.c: remove all code except the constructor and
      	call gtk_orientable_set_orientation() in init().
      
      	* gtk/gtk.symbols: add gtk_ruler_new().
      
      
      svn path=/trunk/; revision=21565
      2accfccc
  13. 01 Oct, 2008 1 commit
  14. 30 Sep, 2008 3 commits
    • Michael Natterer's avatar
      Bug 553582 – Add orientation API to GtkSeparator · 2f628559
      Michael Natterer authored
      2008-09-30  Michael Natterer  <mitch@imendio.com>
      
      	Bug 553582 – Add orientation API to GtkSeparator
      
      	* gtk/gtkseparator.[ch]: implement the GtkOrientable interface and
      	swallow all code from GtkHSeparator and GtkVSeparator. Add
      	gtk_separator_new() which takes a GtkOrientation argument.
      
      	* gtk/gtkhseparator.c
      	* gtk/gtkvseparator.c: remove all code except the constructor and
      	call gtk_orientable_set_orientation() in init().
      
      	* gtk/gtk.symbols: add gtk_separator_new().
      
      
      svn path=/trunk/; revision=21553
      2f628559
    • Michael Natterer's avatar
      forgot the G_GNUC_CONST of gtk_orientable_get_type(). · 6a3a9c95
      Michael Natterer authored
      2008-09-30  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk.symbols: forgot the G_GNUC_CONST of
      	gtk_orientable_get_type().
      
      
      svn path=/trunk/; revision=21551
      6a3a9c95
    • Michael Natterer's avatar
      Bug 541009 – Get rid of separate subclasses for horizontal and vertical · ee3ea1b3
      Michael Natterer authored
      2008-09-30  Michael Natterer  <mitch@imendio.com>
      
      	Bug 541009 – Get rid of separate subclasses for horizontal and
      	vertical orientation:
      
      	* gtk/Makefile.am
      	* gtk/gtk.symbols
      	* gtk/gtk.h
      	* gtk/gtkorientable.[ch]: add new interface GtkOrientable which
      	will be implemented by everything that can switch orientation.
      
      
      svn path=/trunk/; revision=21550
      ee3ea1b3
  15. 29 Sep, 2008 1 commit
    • Matthias Clasen's avatar
      Add a getter for the the sealed context_id field. · 680c460f
      Matthias Clasen authored
      2008-09-29  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtk.symbols:
              * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id):
              Add a getter for the the sealed context_id field.
      
      
      svn path=/trunk/; revision=21546
      680c460f
  16. 19 Sep, 2008 1 commit
    • Carlos Garnacho's avatar
      Bug 83935 – GtkEntry's default invisible char should be U+25CF · ee06ce95
      Carlos Garnacho authored
      2008-09-19  Carlos Garnacho  <carlos@imendio.com>
      
              Bug 83935 – GtkEntry's default invisible char should be U+25CF
      
              * gtk/gtkentry.c (find_invisible_char) (gtk_entry_init): Find a
              more suitable invisible char than '*' based on the used font.
              (gtk_entry_class_init) (gtk_entry_set_property)
              (gtk_entry_get_property): Add a "invisible-char-set" property.
              (gtk_entry_unset_invisible_char): New function, needed now that the
              default invisible char isn't fixed.
              * gtk/gtkentry.h:
              * gtk/gtk.symbols:
              * docs/reference/gtk/gtk-sections.txt: Add the new function.
      
      svn path=/trunk/; revision=21446
      ee06ce95
  17. 04 Sep, 2008 1 commit
  18. 02 Sep, 2008 1 commit
    • Michael Natterer's avatar
      removed this function because there is massive disagreement about how to · 839aeeaf
      Michael Natterer authored
      2008-09-02  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkwidget.c (gtk_widget_get_allocation): removed this
      	function because there is massive disagreement about how to
      	implement it. Needs some general discussion in the next
      	development cycle about how our C api should evolve.
      
      	* gtk/gtk.symbols: changed accordingly.
      
      
      svn path=/trunk/; revision=21259
      839aeeaf
  19. 29 Aug, 2008 1 commit
  20. 14 Aug, 2008 1 commit
  21. 08 Aug, 2008 1 commit
    • Tor Lillqvist's avatar
      gtk/gtk.symbols gtk/makegtkalias.pl gtk/gtkaccelmap.c gtk/gtkfilechooser.c · 72952418
      Tor Lillqvist authored
      2008-08-08  Tor Lillqvist  <tml@novell.com>
      
      	* gtk/gtk.symbols
      	* gtk/makegtkalias.pl
      	* gtk/gtkaccelmap.c
      	* gtk/gtkfilechooser.c
      	* gtk/gtkfilesel.c
      	* gtk/gtkiconfactory.c
      	* gtk/gtkicontheme.c
      	* gtk/gtkimage.c
      	* gtk/gtkrc.c
      	* gtk/gtkuimanager.c
      	* gtk/gtkwindow.c: No need for the DLL ABI backward compatibility
      	functions on Win64.
      
      
      svn path=/trunk/; revision=21040
      72952418
  22. 07 Aug, 2008 1 commit
    • Sven Neumann's avatar
      Bug 546771 - Add writable property "visited" to GtkLinkButton · 75d4f90a
      Sven Neumann authored
      2008-08-07  Sven Neumann  <sven@gimp.org>
      
      	Bug 546771 - Add writable property "visited" to GtkLinkButton
      
      	* gtk/gtk.symbols
      	* gtk/gtklinkbutton.[ch]: expose the 'visited' state as a
      	read-write property with getters and setters. Also move the nick
      	and blurb of the "uri" property to the proper translation 
      domain.
      
      
      svn path=/trunk/; revision=21032
      75d4f90a
  23. 05 Aug, 2008 1 commit
    • Michael Natterer's avatar
      Bug 544858 – Seal GtkAdjustment · f2527e8d
      Michael Natterer authored
      2008-08-05  Michael Natterer  <mitch@imendio.com>
      
      	Bug 544858 – Seal GtkAdjustment
      
      	* gtk/gtk.symbols
      	* gtk/gtkadjustment.[ch] (struct GtkAdjustment): seal all struct
      	members.
      
      	Add accessors for all properties and additionally a new function
      	gtk_adjustment_configure() which sets all properties at
      	once. Patch by Christian Dywan and myself.
      
      
      svn path=/trunk/; revision=21013
      f2527e8d
  24. 04 Aug, 2008 3 commits
    • Matthias Clasen's avatar
      Bug 382291 – Automatically dim the combobox when the model is empty · 7d857577
      Matthias Clasen authored
      2008-08-04  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 382291 – Automatically dim the combobox when the model is empty
      
              * gtk/gtk.symbols:
              * gtkcombobox.[hc]: Add a GtkComboBox::button-sensitivity
              property with getter and setter to control the sensitity of
              empty combo boxes. Patch by Carlos Garnacho, Sven Herzberg,
              Christian Dywan and others.
      
              * README.in: Add a note about automatic combobox sensitivity.
      
      
      svn path=/trunk/; revision=20997
      7d857577
    • Carlos Garnacho's avatar
      Deprecate gtk_file_chooser_*_new_with_backend(), since GIO is already used · 7e439efc
      Carlos Garnacho authored
      2008-08-04  Carlos Garnacho  <carlos@imendio.com>
      
              * gtk/gtk.symbols:
              * gtk/gtkfilechooserbutton.[ch]:
              * gtk/gtkfilechooserdefault.[ch]:
              * gtk/gtkfilechooserdialog.[ch]:
              * gtk/gtkfilechooserwidget.[ch]: Deprecate
              gtk_file_chooser_*_new_with_backend(), since GIO is already used
              directly. Fixes #545976.
      
      svn path=/trunk/; revision=20972
      7e439efc
    • Carlos Garnacho's avatar
      Make GFile-oriented API public. Fixes #545978. · 02c65db5
      Carlos Garnacho authored
      2008-08-04  Carlos Garnacho  <carlos@imendio.com>
      
              * gtk/gtk.symbols:
              * gtk/gtkfilechooser.[ch]: Make GFile-oriented API public. Fixes
              #545978.
              * gtk/gtkfilechooserbutton.c:
              * gtk/gtkfilechooserdefault.c:
              * gtk/gtkfilechooserutils.c: Update to use public GFile API.
      
      svn path=/trunk/; revision=20971
      02c65db5
  25. 02 Aug, 2008 2 commits
  26. 16 Jul, 2008 1 commit
    • Paolo Borelli's avatar
      Bug 447998 - GtkBuilder does not support building parts of the xml tree · 6ee8be88
      Paolo Borelli authored
      2008-07-15  Paolo Borelli  <pborelli@katamail.com>
      
      	Bug 447998 - GtkBuilder does not support building parts of the xml tree
      
      	* gtk/gtkbuilder.c:
      	* gtk/gtkbuilder.h:
      	* gtk/gtkbuilderprivate.h:
      	* gtk/gtkbuilderparser.c:
      	* gtk/gtk.symbols:
      	Add two new functions that allow cherry picking and construct
      	objects from a ui description file or string.
      
      	* gtk/tests/builder.c: tests for the above.
      
      
      svn path=/trunk/; revision=20845
      6ee8be88
  27. 15 Jul, 2008 1 commit
    • Matthias Clasen's avatar
      Bug 384940 – handle rejecting jobs and authentication meaningfully · 1eb96ead
      Matthias Clasen authored
              Patch by Marek Kasik, icons by Mike Langlie:
              * gtk/gtk.symbols:
              * gtk/gtkprintbackend.h:
              * gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties
              and getters/setters.
      
              * gtk/gtkstock.h:
              * gtk/gtkiconfactory.c:
              * gtk/Makefile.am:
              * gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon.
      
              * modules/printbackends/cups/gtkprintbackendcups.c:
              * gtk/gtkprintunixdialog.c: Handle paused and job-rejecting
              printers.
      
      
      svn path=/trunk/; revision=20838
      1eb96ead
  28. 06 Jul, 2008 1 commit
  29. 05 Jul, 2008 1 commit
  30. 04 Jul, 2008 1 commit
  31. 03 Jul, 2008 1 commit
  32. 02 Jul, 2008 1 commit
    • Kristian Rietveld's avatar
      Bug 455268 - Add gtk-enable-tooltips GtkSetting · 4cceb2f1
      Kristian Rietveld authored
      2008-07-02  Kristian Rietveld  <kris@imendio.com>
      
      	Bug 455268 - Add gtk-enable-tooltips GtkSetting
      
      	* gtk/gtk.symbols:
      	* gtk/gtktoolbar.[ch] (gtk_toolbar_[gs]et_tooltips): deprecated.
      
      	* gtk/gtksettings.c: introduce gtk-enable-tooltips XSetting.
      
      	* gtk/gtktooltip.c (_gtk_tooltip_handle_event): take the newly
      	introduced XSetting into account.
      
      	* demos/gtk-demo/appwindow.c: don't use the now deprecated
      	gtk_toolbar_set_tooltips().
      
      
      svn path=/trunk/; revision=20730
      4cceb2f1
  33. 30 Jun, 2008 1 commit
    • Michael Natterer's avatar
      Bug 442042 – GtkScaleButton is too limited · cbd06646
      Michael Natterer authored
      2008-07-01  Michael Natterer  <mitch@imendio.com>
      
      	Bug 442042 – GtkScaleButton is too limited
      
      	* gtk/gtkscalebutton.[ch]: turn "orientation" into a normal
      	property that can be changed at any time after widget
      	creation. Add public API for it.
      
      	* gtk/gtk.symbols: add gtk_scale_button_get/set_orientation.
      
      
      svn path=/trunk/; revision=20710
      cbd06646