diff --git a/ChangeLog b/ChangeLog index 6ec8956c2..8a2ad4fc1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-11-24 Andrés G. Aragoneses + + * atk/Makefile.am: + * atk/SelectionAdapter.custom: new method for firing selection-changed + ( http://library.gnome.org/devel/atk/stable/AtkSelection.html#AtkSelection-selection-changed ) + 2008-11-21 Mike Kestner * glib/ManagedValue.cs: rework to ref count a ManagedValue instance diff --git a/atk/Makefile.am b/atk/Makefile.am index fd3ebdb76..16b8f3b6f 100644 --- a/atk/Makefile.am +++ b/atk/Makefile.am @@ -16,6 +16,7 @@ customs = \ Misc.custom \ Object.custom \ ObjectFactory.custom \ + SelectionAdapter.custom \ TextAdapter.custom \ Util.custom diff --git a/atk/SelectionAdapter.custom b/atk/SelectionAdapter.custom new file mode 100644 index 000000000..8e47f9683 --- /dev/null +++ b/atk/SelectionAdapter.custom @@ -0,0 +1,27 @@ +// SelectionAdapter.custom - Atk SelectionAdapter class customizations +// +// Author: Andrés G. Aragoneses +// +// Copyright (c) 2008 Novell, Inc. +// +// This code is inserted after the automatically generated code. +// +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of version 2 of the Lesser GNU General +// Public License as published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this program; if not, write to the +// Free Software Foundation, Inc., 59 Temple Place - Suite 330, +// Boston, MA 02111-1307, USA. + + public void EmitSelectionChanged () + { + GLib.Signal.Emit (GLib.Object.GetObject (Handle), "selection_changed"); + }