Commit Graph

21 Commits

Author SHA1 Message Date
Matthias Clasen
d22cf5141e Plug a memory leak
svn path=/trunk/; revision=21439
2008-09-19 04:43:01 +00:00
Li Yuan
0f942a3cb8 Bug #548783. Change g_assert to g_return_if_fail to avoid unnucessary
2008-08-21  Li Yuan  <li.yuan@sun.com>

        * gailtreeview.c: (traverse_cells):
        Bug #548783. Change g_assert to g_return_if_fail to avoid
        unnucessary crash.

svn path=/trunk/; revision=21174
2008-08-21 05:41:16 +00:00
Li Yuan
22a47c3dbd Bug #548782. Emit children-changed::remove signal when a row is deleted in
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-08-21 05:28:58 +00:00
Michael Natterer
2f267a411d gailbooleancell.c gailimagecell.c gailtextcell.c gailwidget.c
2008-08-15  Michael Natterer  <mitch@imendio.com>

	* gailbooleancell.c
	* gailimagecell.c
	* gailtextcell.c
	* gailwidget.c
	* tests/Makefile.am
	* tests/testbutton.c
	* tests/testimage.c
	* tests/testlib.c
	* tests/testmenuitem.c
	* tests/testnotebook.c
	* tests/testoptionmenu.c
	* tests/testpaned.c
	* tests/testselection.c
	* tests/testtable.c: some undeprecation.

	* libgail-util/Makefile.am. build with GDK_DISABLE_DEPRECATED
	and GTK_DISABLE_DEPRECATED.


svn path=/trunk/; revision=21127
2008-08-15 11:37:00 +00:00
Michael Natterer
f4d322211e tests/ferret.c tests/testlib.c don't use the deprecated
2008-08-11  Michael Natterer  <mitch@imendio.com>

	* tests/ferret.c
	* tests/testlib.c
	* tests/testtable.c: don't use the deprecated
	gtk_box_pack_start_defaults()


svn path=/trunk/; revision=21061
2008-08-11 11:21:23 +00:00
Tor Lillqvist
b0f9f44866 Pass appropriate -machine flag to lib.exe.
2008-08-04  Tor Lillqvist  <tml@novell.com>

	* libgail-util/Makefile.am: Pass appropriate -machine flag to
	lib.exe.


svn path=/trunk/; revision=20959
2008-08-03 23:48:48 +00:00
Li Yuan
2b5d149c61 Bug #541167. Emit "object:property-change:accessible-name" when
2008-07-02  Li Yuan  <li.yuan@sun.com>

        * gailoptionmenu.c: (gail_option_menu_real_initialize),
        (gail_option_menu_changed):
        Bug #541167. Emit "object:property-change:accessible-name" when
        GailOptionMenui's name changes.

svn path=/trunk/; revision=20728
2008-07-02 04:29:33 +00:00
Michael Natterer
1a23e1502c gailimage.c (gail_image_get_image_size)
2008-06-18  Michael Natterer  <mitch@imendio.com>

	* gailimage.c (gail_image_get_image_size)
	* gailpixmap.c (gail_pixmap_get_image_size):
	s/gdk_window_get_size/gdk_drawable_get_size/


svn path=/trunk/; revision=20445
2008-06-18 07:04:11 +00:00
Michael Natterer
1333ad2ce4 gail.c s/gtk_type_class/g_type_class_ref/
2008-06-17  Michael Natterer  <mitch@imendio.com>

	* gail.c
	* gailtoplevel.c: s/gtk_type_class/g_type_class_ref/

	* Makefile.am: add GDK_DISABLE_DEPRECATED to CPPFLAGS.


svn path=/trunk/; revision=20437
2008-06-17 21:00:28 +00:00
Li Yuan
67d70899d4 Automatically scroll text caret to make it visible, when AT sets its
2008-06-10  Li Yuan  <li.yuan@sun.com>

        * gailtextview.c: (gail_text_view_set_caret_offset):
        Automatically scroll text caret to make it visible, when AT
        sets its offset.

svn path=/trunk/; revision=20344
2008-06-10 05:40:42 +00:00
Li Yuan
277d1744f6 Before emitting "text_caret_moved", change the cursor to the changed
2008-06-06  Li Yuan  <li.yuan@sun.com>

        * gail/gaillabel.c: (gail_label_real_notify_gtk):
        Before emitting "text_caret_moved", change the cursor to the
        changed bound. Bug #536927.

svn path=/trunk/; revision=20322
2008-06-06 03:13:48 +00:00
Michael Natterer
2d98228c55 gailcellparent.h gailfactory.h tests/testnotebook.c tests/testtext.c
2008-05-30  Michael Natterer  <mitch@imendio.com>

	* gailcellparent.h
	* gailfactory.h
	* tests/testnotebook.c
	* tests/testtext.c
	* tests/testtoplevel.c
	* tests/testvalues.c: include <atk/atk.h> instead of individual
	files from ATK.


svn path=/trunk/; revision=20254
2008-05-30 11:25:56 +00:00
Michael Natterer
2650257f3b Move ChangeLog entry to right file.
svn path=/trunk/; revision=20213
2008-05-28 13:23:18 +00:00
Michael Natterer
5327e28edd libgail-util/gailmisc.h use G_BEGIN/END_DECLS.
2008-05-26  Michael Natterer  <mitch@imendio.com>

	* libgail-util/gailmisc.h
	* libgail-util/gailtextutil.h: use G_BEGIN/END_DECLS.


svn path=/trunk/; revision=20178
2008-05-26 14:23:33 +00:00
Matthias Clasen
2fd2f4c9e0 Bug 504706 – wrong deallocator used for GError in gailtextview.c
2008-05-24  Matthias Clasen  <mclasen@redhat.com>

        Bug 504706 – wrong deallocator used for GError in gailtextview.c

        * gailtextview.c: Don't use g_free on a GError.


svn path=/trunk/; revision=20136
2008-05-24 18:42:15 +00:00
Li Yuan
d33b599ac7 Patch from Alejandro Piñeiro Iglesias <apinheiro@igalia.com>. Bug
2008-04-02  Li Yuan  <li.yuan@.sun.com>

        * gailbutton.c: (idle_do_action):
        Patch from Alejandro Piñeiro Iglesias <apinheiro@igalia.com>.
        Bug #496167. Synthesize press and release GdkEvent in button's click
        action.

svn path=/trunk/; revision=19958
2008-04-02 08:29:31 +00:00
Li Yuan
129c717a71 Bug #433324. add/remove selectable state depand on if the button can be
2008-03-31  Li Yuan  <li.yuan@sun.com>

        * gailbutton.c: (gail_button_ref_state_set):
        Bug #433324. add/remove selectable state depand on if the button can
        be focused.

svn path=/trunk/; revision=19950
2008-03-31 07:48:16 +00:00
Li Yuan
0b266b70e0 Bug #498079. Free cell's action info before free the action_list.
2008-03-20  Li Yuan  <li.yuan@sun.com>

        * gailcell.c: (gail_cell_object_finalize):
        Bug #498079. Free cell's action info before free the action_list.

svn path=/trunk/; revision=19909
2008-03-20 08:44:27 +00:00
Li Yuan
7fc21d35d7 Bug #508255. Remove ATK_STATE_FOCUSED state when focus jumps out. Emit
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 09:58:34 +00:00
Li Yuan
fe9254565a Bug #497218. Emit "active-descendant-changed" when focus first comes into
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 09:48:23 +00:00
Li Yuan
be9d0fa25d Bug #508715. Should use gtk_tree_path_free to free a GtkTreePath.
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
2008-01-11 09:22:25 +00:00