* gtk/gtkbuilder.c (gtk_builder_add_from_file):
(gtk_builder_value_from_string_type):
Use gsize instead of unsigned and gulong instead of long,
fixes complation on OSX, fixes#447987
svn path=/trunk/; revision=18146
2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* docs/reference/gtk/gtk-sections.txt, gtk/gtk.symbols,
gtk/gtkwidget.c, gtk/gtkwidget.h, tests/testtooltips.c: Introduce
convenience property "GtkWidget:tooltip-text" taking care of escaping
it for unwanted markup entities. Add functions to set tooltip text:
gtk_widget_set_tooltip_text(), gtk_widget_set_tooltip_markup(),
gtk_widget_get_tooltip_text(), gtk_widget_get_tooltip_markup().
* gtk/gtktooltip.c, gtk/gtktooltip.h: Add gtk_tooltip_set_text()
to set the tooltip text without using markup.
Patches from Emmanuele Bassi (#447643).
svn path=/trunk/; revision=18142
2007-06-15 Hans Breuer <hans@breuer.org>
* gtk/makefile.msc.in tests/makefile.msc : updated
* gdk/win32/gdkwindow-win32.c : explicit usage of RegisterClassExW
to match the WNDCLASSEXW.
True dynamic linking of SetLayeredWindowAttributes
* tests/testprint.c tests/testnouiprint.c : use G_PI
svn path=/trunk/; revision=18140
2007-06-14 Carlos Garnacho <carlos@imendio.com>
* gtk/gtkcombobox.c: removed unused and hardly visible GtkFrame from
the menu widget hierarchy when ::appears-as-list is TRUE. (#435471)
* NEWS: add a note about repercussions of this change to RC files.
svn path=/trunk/; revision=18127
2007-06-13 Michael Natterer <mitch@imendio.com>
* gtk/gtkmenuitem.[ch]: add "submenu" property. Fix
gtk_menu_item_set_submenu() to accept NULL submenus and deprecate
gtk_menu_item_remove_submenu() because we have a properly working
setter now (bug #447065).
* gtk/gtk.symbols: deprecate gtk_menu_item_remove_submenu().
* gtk/gtkcombobox.c: use gtk_menu_item_set_submenu() instead of
gtk_menu_item_remove_submenu().
svn path=/trunk/; revision=18125
2007-06-13 Kristian Rietveld <kris@imendio.com>
* gtk/gtk.symbols
* gtk/gtkfilesystem.[ch]: rename _gtk_file_system_create to
gtk_file_system_create to make it public and bring trunk back
in sync with gtk-2-10.
* gtk/gtkfilechooserdefault.c (set_file_system_backend): updated.
svn path=/trunk/; revision=18121
2007-06-13 Michael Natterer <mitch@imendio.com>
* gtk/gtklabel.c (gtk_label_set_label): added calls to
g_object_freeze/thaw_notify() so gtk_label_get_text() doesn't
return the old text when called from a "notify::label" callback.
svn path=/trunk/; revision=18120
2007-06-13 Kristian Rietveld <kris@imendio.com>
Audit of GtkTreeView coordinate system usage. (#142494).
* gtk/gtktreeview.[ch]: general documentation updates,
(gtk_tree_view_scroll_to_cell), (gtk_tree_view_get_dest_row_at_pos):
update coordinate translations,
(gtk_tree_view_tree_to_widget_coords),
(gtk_tree_view_widget_to_tree_coords): Deprecated,
(gtk_tree_view_convert_.*_coords): 6 new functions for doing
transformations between coordinate systems.
* gtk/gtk.symbols: updated.
* tests/testtooltips.c (query_tooltip_tree_view_cb): fix testcase
with new gtk_tree_view_convert_widget_to_bin_window_coords().
* docs/reference/gtk/Makefile.am
* docs/reference/gtk/images/tree-view-coordinates.png: add new image.
* docs/reference/gtk/tmpl/gtktreeview.sgml: eloborate on the
different coordinate systems.
svn path=/trunk/; revision=18119
2007-06-13 Kristian Rietveld <kris@imendio.com>
* gtk/gtkcellrendererprogress.c
(gtk_cell_renderer_progress_class_init),
(gtk_cell_renderer_progress_init),
(gtk_cell_renderer_progress_[gs]et_property),
(gtk_cell_renderer_progress_render): Add orientation property and some
slight refactoring here and there. (Fixes#344836, reported by
Benjamin Montgomery).
svn path=/trunk/; revision=18118
2007-06-12 Michael Natterer <mitch@imendio.com>
* gtk/gtkiconview.c (update_text_cell): use PANGO_BREAK_WORD_CHAR
instead of PANGO_BREAK_WORD so the text cell doesn't overflow the
wrap-width if there is no whitespace found to break at.
Fixes bug #446107.
svn path=/trunk/; revision=18112
2007-06-12 Kristian Rietveld <kris@imendio.com>
Fix#410815, reported by Lucas Rocha.
* gtk/gtkiconview.c (gtk_icon_view_layout): determine a suitable
wrap-width with the first icon, if it exists,
(adjust_wrap_width): try to use icon_view->priv->item_width
if available,
(gtk_icon_view_set_cell_data): don't call adjust_wrap_width here,
which caused changes in wrap-width during the layouting process and
resulted in layouting artefacts,
(update_text_cell): don't set the wrap-width property, this should
be handled by adjust_wrap_width.
svn path=/trunk/; revision=18111
GtkNotebook::create_window() was declared as returning a GtkNotebook
instead of a pointer to a GtkNotebook. (#446513, Kazuki Iwamoto)
svn path=/trunk/; revision=18103
2007-06-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrc.c (gtk_rc_parse_style): Accept class names starting
with lowercase letters for style property assignments, since
GType accepts these too, and gtkmm uses such class names. (#343012,
Murray Cumming, Johannes Schmid)
svn path=/trunk/; revision=18101
Unconditionally define _GNU_SOURCE and XOPEN_SOURCE, in order to make
the simple search engine backend build on really ancient GNU libc
(see bug 444097), which have ftw.h but need those symbols defined even
to export a POSIX-like ftw() and friends.
svn path=/trunk/; revision=18096
2007-06-08 Benjamin Berg <benjamin@sipsolutions.net>
* gtk/gtkscrolledwindow.c: (gtk_scrolled_window_paint):
Fix shadow painting if the scrollbars-within-bevel style property is
set and border_width is nozero. (#445054)
svn path=/trunk/; revision=18082
2007-06-08 Matthias Clasen <mclasen@redhat.com>
Make it possible for theme engines to support symbolic
colors. (#426192, Andrea Cimitan, patch by Olivier Samyn)
* gtk/gtk.symbols:
* gtk/gtkrc.h:
* gtk/gtkrc.c (gtk_rc_parse_color_full): Export this function
* gtk/gtkrc.c (gtk_rc_parse_engine): Copy color hashes
to new style before parsing engine section.
svn path=/trunk/; revision=18081
2007-06-06 Matthias Clasen <mclasen@redhat.com>
* gtk/Makefile.am: Add the 16x16 version of gtk-select-color.png
to the list of stock icons. (#444786)
svn path=/trunk/; revision=18069
2007-06-06 Kristian Rietveld <kris@imendio.com>
* gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_init),
(gtk_cell_renderer_progress_class_init),
(gtk_cell_renderer_progress_[gs]et_property),
(gtk_cell_renderer_progress_render): add text-[xy]align properties
for aligning the text label of the progress bar. (#334576,
suggestion from Steven Sheehy).
svn path=/trunk/; revision=18068