summaryrefslogtreecommitdiff
path: root/atk
diff options
context:
space:
mode:
authorAlejandro Piñeiro <apinheiro@igalia.com>2014-02-03 13:44:08 +0100
committerAlejandro Piñeiro <apinheiro@igalia.com>2014-02-03 13:57:55 +0100
commit17b2c9bc896a9f0e6226baa666edd4843c9c7e64 (patch)
treef1168365bb78e3ce12872433b1239a15ebbb2117 /atk
parent8bf08520b7119de7a1a46a2dbac30adb7ea3b58d (diff)
downloadatk-17b2c9bc896a9f0e6226baa666edd4843c9c7e64.tar.gz
atktext: adding again details to 'text-insert/remove'. Document it.
https://bugzilla.gnome.org/show_bug.cgi?id=653293
Diffstat (limited to 'atk')
-rwxr-xr-xatk/atktext.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/atk/atktext.c b/atk/atktext.c
index a8f44d5..cdbc1ed 100755
--- a/atk/atktext.c
+++ b/atk/atktext.c
@@ -220,12 +220,14 @@ atk_text_base_init (AtkTextIface *class)
* @arg3: The new text inserted
*
* The "text-insert" signal is emitted when a new text is
- * inserted.
+ * inserted. If the signal was not triggered by the user
+ * (e.g. typing or pasting text), the "system" detail should be
+ * included.
*/
atk_text_signals[TEXT_INSERT] =
g_signal_new ("text_insert",
ATK_TYPE_TEXT,
- G_SIGNAL_RUN_LAST,
+ G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
0,
(GSignalAccumulator) NULL, NULL,
atk_marshal_VOID__INT_INT_STRING,
@@ -240,12 +242,14 @@ atk_text_base_init (AtkTextIface *class)
* @arg3: The old text removed
*
* The "text-remove" signal is emitted when a new text is
- * removed.
+ * removed. If the signal was not triggered by the user
+ * (e.g. typing or pasting text), the "system" detail should be
+ * included.
*/
atk_text_signals[TEXT_REMOVE] =
g_signal_new ("text_remove",
ATK_TYPE_TEXT,
- G_SIGNAL_RUN_LAST,
+ G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
0,
(GSignalAccumulator) NULL, NULL,
atk_marshal_VOID__INT_INT_STRING,