The GtkScrollable interface provides "hadjustment" and "vadjustment"
properties that are used by GtkScrolledWindow. It replaces
the ::set_scroll_adjustment signal. The scrollable interface
also has ::min-display-width/height properties that can be
used to control the minimally visible part inside a scrolled window.
Gail did set the role to ATK_ROLE_TABLE for anything that is
not a GtkTreeStore. The propery way to do this is to look at the
tree model flags for list-onlyness. Bug 580291.
The old version wasn't introspectable as it didn't have a length
return parameter. Also, delete gtk_tree_path_get_indices_with_depth,
since it's no longer needed.
Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE,
GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and
GTK_WIDGET_COMPOSITE_CHILD.
Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and
GTK_OBJECT_TYPE which have become redundant.
Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel,
GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD
is replaced with use of the "composite-child" property and uses of
GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window.
Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are
changed to direct flag usage.
Documentation is updated to refer to gtk_widget_set_has_window and
gtk_widget_get_has_window.
Gail and tests are updated as well.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
2009-02-25 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (gail_tree_view_ref_accessible_at_point):
Bug #325809. Get the cell from the coordinates based on
bin_window.
svn path=/trunk/; revision=22405
2009-02-25 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (is_cell_showing):
Bug #571001. Set the cell's showing state based on bin_window
coordinates.
svn path=/trunk/; revision=22403
2008-12-12 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: Bug #512743.
(gail_tree_view_changed_gtk): Clean cell before go through the info
list, for "changed" signal could come before a "row-deleted".
(clean_cell_info):
Prevent the thread to be scheduled before clean_cell_info
finish its job.
svn path=/trunk/; revision=21872
2008-08-21 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (model_row_deleted):
Bug #548782. Emit children-changed::remove signal when a row is
deleted in gtktreeview.
svn path=/trunk/; revision=21173
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
2008-01-11 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (gail_tree_view_real_initialize), (focus_in),
(focus_out):
Bug #508255. Remove ATK_STATE_FOCUSED state when focus jumps out.
Emit "active-descendant-changed" and add ATK_STATE_FOCUSED state when
focus comes in again.
svn path=/trunk/; revision=19351
2008-01-11 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (gail_tree_view_ref_child),
(idle_cursor_changed):
Bug #497218. Emit "active-descendant-changed" when focus first comes
into treeview. Add/remove ATK_STATE_FOCUSED when cursor changes.
svn path=/trunk/; revision=19350
2008-01-11 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (gail_tree_view_get_n_rows):
Bug #508715. Should use gtk_tree_path_free to free a GtkTreePath.
svn path=/trunk/; revision=19349
* modules/other/gail/*.[ch]: Remove relocations from the atk
factories. Remove unused gail_foo_new() functions. Fix object
instantiation to be derivation safe by moving initialisation code
from the removed gail_foo_new() functions to the
AtkObjectClass::initialize implementation. Bug #505226.
svn path=/trunk/; revision=19237