]> Pileus Git - ~andy/gtk/commitdiff
Document possible accelerator gotcha when using this function. (#139641,
authorMatthias Clasen <mclasen@redhat.com>
Tue, 13 Apr 2004 19:22:35 +0000 (19:22 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 13 Apr 2004 19:22:35 +0000 (19:22 +0000)
2004-04-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkactiongroup.c (gtk_action_group_add_action): Document
possible accelerator gotcha when using this function.  (#139641,
Christian Persch)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkactiongroup.c

index 568d5b601a448f4e538a9c9bb84fb669c9c465a2..b6c801da263bd5316df5c71dec35627ae6883fe9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2004-04-13  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkactiongroup.c (gtk_action_group_add_action): Document
+       possible accelerator gotcha when using this function.  (#139641, 
+       Christian Persch)
+
        * gtk/gtkuimanager.c (node_remove_ui_reference): Don't leak
        list nodes.  (#138862, Morten Welinder)
 
index 568d5b601a448f4e538a9c9bb84fb669c9c465a2..b6c801da263bd5316df5c71dec35627ae6883fe9 100644 (file)
@@ -1,5 +1,9 @@
 2004-04-13  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkactiongroup.c (gtk_action_group_add_action): Document
+       possible accelerator gotcha when using this function.  (#139641, 
+       Christian Persch)
+
        * gtk/gtkuimanager.c (node_remove_ui_reference): Don't leak
        list nodes.  (#138862, Morten Welinder)
 
index 568d5b601a448f4e538a9c9bb84fb669c9c465a2..b6c801da263bd5316df5c71dec35627ae6883fe9 100644 (file)
@@ -1,5 +1,9 @@
 2004-04-13  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkactiongroup.c (gtk_action_group_add_action): Document
+       possible accelerator gotcha when using this function.  (#139641, 
+       Christian Persch)
+
        * gtk/gtkuimanager.c (node_remove_ui_reference): Don't leak
        list nodes.  (#138862, Morten Welinder)
 
index 568d5b601a448f4e538a9c9bb84fb669c9c465a2..b6c801da263bd5316df5c71dec35627ae6883fe9 100644 (file)
@@ -1,5 +1,9 @@
 2004-04-13  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkactiongroup.c (gtk_action_group_add_action): Document
+       possible accelerator gotcha when using this function.  (#139641, 
+       Christian Persch)
+
        * gtk/gtkuimanager.c (node_remove_ui_reference): Don't leak
        list nodes.  (#138862, Morten Welinder)
 
index 568d5b601a448f4e538a9c9bb84fb669c9c465a2..b6c801da263bd5316df5c71dec35627ae6883fe9 100644 (file)
@@ -1,5 +1,9 @@
 2004-04-13  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkactiongroup.c (gtk_action_group_add_action): Document
+       possible accelerator gotcha when using this function.  (#139641, 
+       Christian Persch)
+
        * gtk/gtkuimanager.c (node_remove_ui_reference): Don't leak
        list nodes.  (#138862, Morten Welinder)
 
index 67cc65247d0f7d068aabc292eda3fcbef4180357..a9318b0dbaebfb76504e6d67ffded06b8549d661 100644 (file)
@@ -525,7 +525,12 @@ gtk_action_group_get_action (GtkActionGroup *action_group,
  * @action_group: the action group
  * @action: an action
  *
- * Adds an action object to the action group. 
+ * Adds an action object to the action group. Note that this function
+ * does not set up the accel path of the action, which can lead to problems
+ * if a user tries to modify the accelerator of a menuitem associated with
+ * the action. Therefore you must either set the accel path yourself with
+ * gtk_action_set_accel_path(), or use 
+ * <literal>gtk_action_group_add_action_with_accel (..., NULL)</literal>.
  *
  * Since: 2.4
  */