forked from AuroraMiddleware/gtk
Use gtk_accel_map_change_entry(), so that reusing the same action name
2005-04-04 Matthias Clasen <mclasen@redhat.com> * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): Use gtk_accel_map_change_entry(), so that reusing the same action name works. (#170727, Paolo Borelli)
This commit is contained in:
parent
0b2ac32cf5
commit
36388a1fbf
@ -1,3 +1,9 @@
|
||||
2005-04-04 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel):
|
||||
Use gtk_accel_map_change_entry(), so that reusing the same
|
||||
action name works. (#170727, Paolo Borelli)
|
||||
|
||||
2005-04-04 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gdk/win32/gdkmain.c (_gdk_win32_cf_to_string): New debugging
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-04-04 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel):
|
||||
Use gtk_accel_map_change_entry(), so that reusing the same
|
||||
action name works. (#170727, Paolo Borelli)
|
||||
|
||||
2005-04-04 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gdk/win32/gdkmain.c (_gdk_win32_cf_to_string): New debugging
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-04-04 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel):
|
||||
Use gtk_accel_map_change_entry(), so that reusing the same
|
||||
action name works. (#170727, Paolo Borelli)
|
||||
|
||||
2005-04-04 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gdk/win32/gdkmain.c (_gdk_win32_cf_to_string): New debugging
|
||||
|
@ -603,7 +603,7 @@ gtk_action_group_add_action_with_accel (GtkActionGroup *action_group,
|
||||
}
|
||||
|
||||
if (accel_key)
|
||||
gtk_accel_map_add_entry (accel_path, accel_key, accel_mods);
|
||||
gtk_accel_map_change_entry (accel_path, accel_key, accel_mods, TRUE);
|
||||
|
||||
gtk_action_set_accel_path (action, accel_path);
|
||||
gtk_action_group_add_action (action_group, action);
|
||||
|
Loading…
Reference in New Issue
Block a user