1. 30 May, 2008 4 commits
  2. 29 May, 2008 13 commits
    • Matthias Clasen's avatar
      Make make check work. · 5505f5b7
      Matthias Clasen authored
      svn path=/trunk/; revision=20242
      5505f5b7
    • Matthias Clasen's avatar
      Bug 535453 - gdk_pixbuf_format_get_license returns NULL for · 9038f2ce
      Matthias Clasen authored
              any of the loaders
      
              * queryloaders.c (write_loader_info): Add the license info
              after the description.
      
              * gdk-pixbuf-io.c (gdk_pixbuf_io_init): Read the license info
              from the module file. Reported by Andrey Tsyvarev.
      
      
      svn path=/trunk/; revision=20241
      9038f2ce
    • Jorge Gonzalez Gonzalez's avatar
      Updated Spanish translation · 1360578f
      Jorge Gonzalez Gonzalez authored
      svn path=/trunk/; revision=20240
      1360578f
    • Tor Lillqvist's avatar
      Grammar. · 7db757d3
      Tor Lillqvist authored
      svn path=/trunk/; revision=20239
      7db757d3
    • Tor Lillqvist's avatar
      Bug 535526 - updateiconcache.c: using open/close without prototype · 776c5094
      Tor Lillqvist authored
      2008-05-29  Tor Lillqvist  <tml@novell.com>
      
      	Bug 535526 - updateiconcache.c: using open/close without prototype
      
      	* gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
      	g_utime() instead of utime() for UTF-8 pathname support on Windows
      	when available.
      
      
      svn path=/trunk/; revision=20238
      776c5094
    • Jan Arne Petersen's avatar
      Bug 56355 – GtkLabel - Not all changes propagate correctly · 0fb31a06
      Jan Arne Petersen authored
      2008-05-29  Jan Arne Petersen  <jpetersen@jpetersen.org>
      
      	Bug 56355 – GtkLabel - Not all changes propagate correctly
      
      	* gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
      	(gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
      	(gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
      	Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
      	notifications of mnemonic-keyval changes.
      
      
      svn path=/trunk/; revision=20237
      0fb31a06
    • Matthias Clasen's avatar
      Bug 522084 – GIcon support for GtkIconTheme & GtkImage · ee8253f9
      Matthias Clasen authored
      2008-05-27  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 522084 – GIcon support for GtkIconTheme & GtkImage
      
              * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
              * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
              * gtk/gtk.symbols: Additions
              * tests/testimage.c: Add a GIcon test
      
      
      svn path=/trunk/; revision=20236
      ee8253f9
    • Michael Natterer's avatar
      add -UGTK_DISABLE_SINGLE_INCLUDES so the code generated by gtkdoc-scangobj · 24ac3669
      Michael Natterer authored
      2008-05-29  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/Makefile.am (CPPFLAGS): add -UGTK_DISABLE_SINGLE_INCLUDES so
      	the code generated by gtkdoc-scangobj builds.
      
      
      svn path=/trunk/; revision=20232
      24ac3669
    • Michael Natterer's avatar
      include <gtk/gtkunixprint.h> instead of individual files. · 3b464e90
      Michael Natterer authored
      2008-05-29  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk.types: include <gtk/gtkunixprint.h> instead of
      	individual files.
      
      
      svn path=/trunk/; revision=20231
      3b464e90
    • Michael Natterer's avatar
      gtk/Makefile.am add a single-include header for the unix print stuff. · c8e67f3c
      Michael Natterer authored
      2008-05-29  Michael Natterer  <mitch@imendio.org>
      
      	* gtk/Makefile.am
      	* gtk/gtkunixprint.h: add a single-include header for the unix
      	print stuff.
      
      	* gtk/gtkpagesetupunixdialog.h
      	* gtk/gtkprinter.h
      	* gtk/gtkprintjob.h
      	* gtk/gtkprintunixdialog.h: add single-include guards that #error
      	out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
      	files is included individually.
      
      	* gtk/gtkprintbackend.h
      	* gtk/gtkprinter-private.h
      	* modules/printbackends/cups/gtkprintbackendcups.c
      	* modules/printbackends/cups/gtkprintercups.h
      	* modules/printbackends/lpr/gtkprintbackendlpr.c
      	* tests/buildertest.c
      	* tests/defaultvaluetest.c
      	* docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
      	individual files.
      
      
      svn path=/trunk/; revision=20230
      c8e67f3c
    • Matthias Clasen's avatar
      Fix for single includes · 7c45a441
      Matthias Clasen authored
      svn path=/trunk/; revision=20229
      7c45a441
    • Matthias Clasen's avatar
      Additions · f58baf13
      Matthias Clasen authored
      svn path=/trunk/; revision=20228
      f58baf13
    • Matthias Clasen's avatar
      Bug 535250 - GtkToolButton reference page says "label" where · bceb3fcc
      Matthias Clasen authored
              it should say "icon", uses underscores
      
              * gtk/tmpl/gtktoolbutton.sgml: Improve introduction
      
      svn path=/trunk/; revision=20227
      bceb3fcc
  3. 28 May, 2008 23 commits
    • Jorge Gonzalez Gonzalez's avatar
      Updated Spanish translation · fb7faf4d
      Jorge Gonzalez Gonzalez authored
      svn path=/trunk/; revision=20226
      fb7faf4d
    • Michael Natterer's avatar
      whitespace cleanup: remove trailing whitespace and excess newlines and · 2c5f8a5c
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
      	excess newlines and sprinkled some newlines where needed. Zero
      	code or formatting changes included.
      
      
      svn path=/trunk/; revision=20225
      2c5f8a5c
    • Michael Natterer's avatar
      fix formatting of details_acquired() signal. · 0bf59ed2
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkprinter.h: fix formatting of details_acquired() signal.
      
      
      svn path=/trunk/; revision=20224
      0bf59ed2
    • Michael Natterer's avatar
      fix comment: the widget is called GtkColorButton, not · 9172d337
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkcolorbutton.h: fix comment: the widget is called
      	GtkColorButton, not GtkColorSelectButton. Remove trailing
      	whitespace and excess newlines.
      
      
      svn path=/trunk/; revision=20223
      9172d337
    • Michael Natterer's avatar
      last but not least, add G_DISABLE_SINGLE_INCLUDES, · e9d9670e
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
      	GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
      	to CPPFLAGS so it's impossible to commit code that would break
      	apps which use DISABLE_INCLUDE defines.
      
      
      svn path=/trunk/; revision=20222
      e9d9670e
    • Michael Natterer's avatar
      define __GTK_H_INSIDE__ around including all other headers. · eff99c28
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
      	headers.
      
      	* gtk/gtktypebuiltins.h.template
      	* gtk/gtkversion.h.in
      	* gtk/gtk*.h: add single-include guards that #error out if
      	GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
      	included individually.
      
      	* gtk/gtkprintbackend.h
      	* gtk/gtkprinter-private.h
      	* gtk/gtktextlayout.h
      	* gtk/gtktexttagprivate.h
      	* gtk/gtktexttypes.h
      	* gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
      	headers in these private or semi-private headers.
      
      	* gtk/gtkimmodule.h: also here because it's not in gtk.h.
      
      	* gtk/gtkpagesetupunixdialog.h
      	* gtk/gtkprinter.h
      	* gtk/gtkprintjob.h
      	* gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
      
      	* gtk/gtkclist.h
      	* gtk/gtkcombo.h
      	* gtk/gtkctree.h
      	* gtk/gtkfilesel.h
      	* gtk/gtkitemfactory.h
      	* gtk/gtklist.h
      	* gtk/gtklistitem.h
      	* gtk/gtkoldeditable.h
      	* gtk/gtkoptionmenu.h
      	* gtk/gtkpixmap.h
      	* gtk/gtkpreview.h
      	* gtk/gtksignal.h
      	* gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
      	instead of individual headers in these deprecated headers. They
      	don't get included at all when GTK_DISABLE_DEPRECATED is defined,
      	so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
      	and include them individually, which should continue to work.
      
      	* gtk/gtkclist.c: include "gtkctree.h" because of the change
      	above.
      
      
      svn path=/trunk/; revision=20221
      eff99c28
    • Kristian Rietveld's avatar
      Bug 449625 - crash in gtk_tree_view_real_move_cursor at gtktreeview.c:9641 · e7df0579
      Kristian Rietveld authored
      2008-05-28  Kristian Rietveld  <kris@imendio.com>
      
      	Bug 449625 - crash in gtk_tree_view_real_move_cursor at
      	gtktreeview.c:9641
      
      	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
      	cursor_offset *must* be larger than background height of the cursor
      	node, not just equal otherwise there is no guarantee there is a next
      	node.
      
      
      svn path=/trunk/; revision=20219
      e7df0579
    • Michael Natterer's avatar
      don't include <gdk/gdktestutils.h>. · 53366c1c
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
      
      
      svn path=/trunk/; revision=20218
      53366c1c
    • Michael Natterer's avatar
      define __GDK_H_INSIDE__ around including all other headers. · 791ac426
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
      	headers.
      
      	* gdk/gdkenumtypes.h.template
      	* gdk/gdk*.h: add single-include guards that #error out if
      	GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
      	included individually. Also removed some redundant includes and
      	did some tiny trailing whitespace removal that's not worth to
      	commit separately.
      
      	* gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
      	files.
      
      	* gdk/win32/gdkwin32.h
      	* gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
      	other includes.
      
      
      svn path=/trunk/; revision=20217
      791ac426
    • Kristian Rietveld's avatar
      Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the current · 382ce2f1
      Kristian Rietveld authored
      2008-05-28  Kristian Rietveld  <kris@imendio.com>
      
      	Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
      	current widget again.
      
      	* gtk/gtktooltip.c (gtk_tooltip_set_custom),
      	(gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
      	custom_was_reset field to check if the custom widget is set again in
      	the query-tooltip callback; if not, we set it to NULL.  Based on a
      	patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
      	and Christian Persch.
      
      
      svn path=/trunk/; revision=20215
      382ce2f1
    • Michael Natterer's avatar
      define GDK_PIXBUF_H_INSIDE around including all other headers. · 83b215f9
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gdk-pixbuf.h: define GDK_PIXBUF_H_INSIDE around including all
      	other headers.
      
      	* gdk-pixbuf-animation.h
      	* gdk-pixbuf-core.h
      	* gdk-pixbuf-enum-types.h.template
      	* gdk-pixbuf-features.h.in
      	* gdk-pixbuf-io.h
      	* gdk-pixbuf-loader.h
      	* gdk-pixbuf-simple-anim.h
      	* gdk-pixbuf-transform.h: add single-include guards that #error
      	out if GDK_PIXBUF_DISABLE_SINGLE_INCLUDES is defined and any of
      	these files is included individually.
      
      	* gdk-pixbuf-private.h: don't incude "gdk-pixbuf-io.h".
      
      	* gdk-pixbuf-csource.c: #define __GTK_H_INSIDE__ around including
      	"../gtk/gtkversion.h". Ugly but needed in this special case.
      
      
      svn path=/trunk/; revision=20214
      83b215f9
    • Michael Natterer's avatar
      Move ChangeLog entry to right file. · 2650257f
      Michael Natterer authored
      
      svn path=/trunk/; revision=20213
      2650257f
    • Michael Natterer's avatar
      Fix ChangeLog. · e628ab8e
      Michael Natterer authored
      
      svn path=/trunk/; revision=20212
      e628ab8e
    • Michael Natterer's avatar
      include <gtk/gtk.h> instead of <gtk/gtkaccessible.h> · da042c89
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@gimp.org>
      
      	* modules/other/gail/gailwidget.h: include <gtk/gtk.h> instead of
      	<gtk/gtkaccessible.h>
      
      	* modules/other/gail/*.h: don't include anyting from gtk since all
      	headers indirectly include gailwidget.h.
      
      	* modules/other/gail/gailcellparent.c: include <gtk/gtk.h> instead
      	of individual files.
      
      	* modules/other/gail/gailcheckmenuitem.c
      	* modules/other/gail/gailmenu.c
      	* modules/other/gail/gailtreeview.c: remove all gtk includes since
      	it's always included by including any gail header.
      
      
      svn path=/trunk/; revision=20211
      da042c89
    • Michael Natterer's avatar
      modules/printbackends/cups/gtkcupsutils.c · 6720ef6d
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@gimp.org>
      
      	* modules/printbackends/cups/gtkcupsutils.c
      	* modules/printbackends/cups/gtkprintbackendcups.c
      	* modules/printbackends/file/gtkprintbackendfile.c
      	* modules/printbackends/lpr/gtkprintbackendlpr.c: include
      	<gtk/gtk.h> instead of individual files.
      
      
      svn path=/trunk/; revision=20210
      6720ef6d
    • Michael Natterer's avatar
      include <gdk-pixbuf/gdk-pixbuf.h> instead of individual files. · 0130bc33
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
      	individual files.
      
      
      svn path=/trunk/; revision=20209
      0130bc33
    • Kristian Rietveld's avatar
      Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL. · 45f0ad8c
      Kristian Rietveld authored
      2008-05-28  Kristian Rietveld  <kris@imendio.com>
      
      	Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
      	->priv->tree != NULL.  Suggestion from Stefan Kost.
      
      
      svn path=/trunk/; revision=20208
      45f0ad8c
    • Kristian Rietveld's avatar
      Dear Kris, we live in 2008 now, not 2006. · 9078a149
      Kristian Rietveld authored
      svn path=/trunk/; revision=20207
      9078a149
    • Kristian Rietveld's avatar
      Bug 324282 - add selected signal to cell renderer combo. · 3ed120eb
      Kristian Rietveld authored
      2006-05-28  Kristian Rietveld  <kris@imendio.com>
      
      	Bug 324282 - add selected signal to cell renderer combo.
      
      	* gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
      	(gtk_cell_renderer_combo_changed),
      	(gtk_cell_renderer_combo_start_editing): add a new "changed" signal
      	that will be emitted as soon as the combo box emitted changed and has
      	an active iterator.  (Modified patch based on work by James
      	Pelletier).
      
      	* gtk/gtkmarshalers.list: add marshaler.
      
      
      svn path=/trunk/; revision=20206
      3ed120eb
    • Kristian Rietveld's avatar
      Refactor expand/collapse timeout handling (amendment to bug 511217). · 1fa5cda0
      Kristian Rietveld authored
      2008-05-28  Kristian Rietveld  <kris@imendio.com>
      
      	Refactor expand/collapse timeout handling (amendment to bug 511217).
      
      	* gtk/gtktreeview.c (add_expand_collapse_timeout),
      	(remove_expand_collapse_timeout): new functions, the remove function
      	also clears expanded_collapsed_node,
      	(cancel_arrow_animation): moved to be next to the add/remove timeout
      	functions,
      	(gtk_tree_view_unrealize),
      	(gtk_tree_view_row_deleted),
      	(gtk_tree_view_set_model),
      	(cancel_arrow_animation),
      	(gtk_tree_view_real_expand_row),
      	(gtk_tree_view_real_collapse_row): use the new add/remove functions.
      
      
      svn path=/trunk/; revision=20205
      1fa5cda0
    • Kristian Rietveld's avatar
      Amendment of bug 485218 - Strange warning encountered. · e72827b2
      Kristian Rietveld authored
      2008-05-28  Kristian Rietveld  <kris@imendio.com>
      
      	Amendment of bug 485218 - Strange warning encountered.
      
      	* gtk/gtktreemodelsort.[ch]
      	(gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
      	indication whether or not the conversion had succeeded.
      
      
      svn path=/trunk/; revision=20204
      e72827b2
    • Matthias Clasen's avatar
      Bug 509788 – GTK+ should use CUPS to set Postscript level of PS output · 10f642b9
      Matthias Clasen authored
              * modules/printbackends/cups/gtkprintbackendcups.c
              (cups_printer_create_cairo_surface): Fall back to PostScript level 2
              if the printer does not support level 3. Patch by Marek Kašík.
      
      
      svn path=/trunk/; revision=20203
      10f642b9
    • Matthias Clasen's avatar
      Bug 404571 – Scroll arrow backgrounds should be painted with different · 81320ba9
      Matthias Clasen authored
              detail
      
              * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down"
              as detail when drawing scroll arrow backgrounds. Proposed by
              Tommi Komulainen.
      
      
      svn path=/trunk/; revision=20202
      81320ba9