2007-07-09 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtktooltip.c:
* gtk/gtktooltip.h: Make the GTK_TOOLTIP and GTK_IS_TOOLTIP macros public.
svn path=/trunk/; revision=18410
2007-07-08 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtk-builder-convert: Improve the way properties
are copied over from a menuitem to an action.
svn path=/trunk/; revision=18404
2007-07-08 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtk-builder-convert (GtkBuilderConverter._convert_menuitem): Convert
GtkMenus which are not part of a GtkMenuBar. Also move over activate signals
when converting a GtkMenuItem subclass to an action.
(#454830, Bastien Nocera)
svn path=/trunk/; revision=18403
2007-07-08 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkwidget.c (gtk_widget_buildable_custom_tag_start):
Parse <accessibility> but don't do anything yet.
* gtk/gtk-builder-convert (GtkBuilderConverter._parse):
Do not strip atk/accessibility tags
* tests/buildertest.c (test_widget):
Test this
svn path=/trunk/; revision=18399
traversing the whole tree.
Use a common api to create sizegroups, actiongroups and uimanagers
to avoid name conflicts.
Output newly created objects sorted by id before the old roots under
<interface>
svn path=/trunk/; revision=18391
2007-07-06 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkbuilder.c (gtk_builder_get_type_from_name): Add a missing
semi-colon in the doc string, spotted by Johannes Sasonko
svn path=/trunk/; revision=18386
2007-07-04 Tor Lillqvist <tml@novell.com>
* gtk/gtkstatusicon.c: On Win32 call
gtk_status_icon_button_press() in an idle callback and not
directly from the window procedure to avoid "g_main_loop_run():
called recursively from within a source's check() or prepare()
member, iteration not possible" warnings.
svn path=/trunk/; revision=18377
2007-07-04 Chris Wilson <chris@chris-wilson.co.uk>
* gtk/gtkrecentchoosermenu.c (idle_populate_func),
(idle_populate_clean_up), (gtk_recent_chooser_menu_populate):
Remove a surplus GDK_THREADS_LEAVE() and avoid a potential use after
free in the source destroy notify. (#453033)
svn path=/trunk/; revision=18375
2007-07-04 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkcelllayout.c (_gtk_cell_layout_buildable_add_child):
pack children from the start instead of the end, this should
probably be made configurable at some point.
svn path=/trunk/; revision=18374
2007-07-04 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtk-builder-convert:
Add support for converting GtkComboBox items, also make sure
that we support more than one GtkAdjustment in a file
svn path=/trunk/; revision=18371
2007-07-03 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished): Mimic the behavior
of gtk_dialog_add_action_widget closer, to make clicking on the buttons
actually work.
svn path=/trunk/; revision=18349
2007-07-02 Kristian Rietveld <kris@gtk.org>
* gtk/gtk.symbols:
* gtk/gtktreeview.[ch] (gtk_tree_view_is_rubber_banding_active): new
function to check whether a rubber banding operation is currently
active. (#393579, Christian Neumair).
svn path=/trunk/; revision=18344
2007-07-02 Jan Arne Petersen <jpetersen@jpetersen.org>
* gtk/gtkscalebutton.c: (gtk_scale_button_update_icon): Add
parentheses to fix the operator order in the icon selection.
svn path=/trunk/; revision=18331
2007-07-01 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtk-builder-convert (GtkBuilderConverter):
Convert to getopt, improved documentation, change
the script to require two arguments
svn path=/trunk/; revision=18325
2007-06-30 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkbuilderparser.c: (_get_type_by_symbol), (parse_object),
(parse_child):
* tests/buildertest.c: (test_types):
Move type-func to <object> instead of <child>, add a test to
make sure that it works as desired, #452463
svn path=/trunk/; revision=18306
2007-06-29 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Escape
markup entities in the name and URI before displaying them.
svn path=/trunk/; revision=18289
2007-06-29 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentmanager.c (get_icon_for_mime_type): Do not
cache the icon pixbufs but rely on the GtkIconTheme not to
hit the disk cache too much (should tentatively fix#426987).
svn path=/trunk/; revision=18288
2007-06-28 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtk-builder-convert (_indent): Prettify the output by
running it through xmllint --format if xmllint is available
which also requires the subprocess module only available
in python 2.4 or later
svn path=/trunk/; revision=18281
2007-06-28 Christian Persch <chpe@gnome.org>
* gtk/gtkvolumebutton.c: (gtk_volume_button_class_init),
(gtk_volume_button_init), (gtk_volume_button_dispose),
(gtk_volume_button_update_tooltip): Make the volume button use range
0.0 to 1.0 by default, and fix tooltips code to cope with different ranges.
Bug #354181.
svn path=/trunk/; revision=18279
2007-06-28 Yevgen Muntyan <muntyan@tamu.edu>
* gtk/gtktextutil.c (_gtk_text_util_get_block_cursor_location):
do right thing in one-character lines and at paragraph end (#448313).
* configure.in: require pango-1.17.3 to get fixed pango_layout_index_to_line_x()
(pango #448342).
svn path=/trunk/; revision=18273
2007-06-27 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkbuilderparser.c (parse_property): Use
the attribute name in the error message instead of
the value.
svn path=/trunk/; revision=18272
2007-06-27 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkbuilder.c (apply_delayed_properties):
Print out the name of the right object in the warning
(#451314, Philip Withnall)
svn path=/trunk/; revision=18270
2007-06-27 Xan Lopez <xan@gnome.org>
* gtk/gtkvbbox.c (gtk_vbutton_box_size_allocate):
* gtk/gtkhbbox.c (gtk_hbutton_box_size_allocate):
Do not add border_width to the first button initial
coordinate, since it's already taken into account in
the allocation value. (#451484)
svn path=/trunk/; revision=18261
2007-06-27 Michael Natterer <mitch@imendio.com>
Merged from maemo-gtk:
* gtk/gtkmenu.c (gtk_menu_handle_scrolling): when updating the
scroll arrows' state, make sure we don't overwrite the insensitive
state that might have been set by the first scroll step hitting
the top/bottom border of the menu.
svn path=/trunk/; revision=18260