Commit bf4b559a authored by Stefan Kost's avatar Stefan Kost

Update menu accelerators, when adding/removing AccelGroups dynamically.

	* gtk/gtkwindow.c: Update menu accelerators, when adding/removing
	AccelGroups dynamically. (#469374)


svn path=/trunk/; revision=18691
parent ec765b24
2007-08-27 Stefan Kost <ensonic@users.sf.net>
* gtk/gtkwindow.c: Update menu accelerators, when adding/removing
AccelGroups dynamically. (#469374)
2007-08-27 Cody Russell <bratsche@gnome.org>
* modules/engines/ms-windows/msw_style.c: Correct draw_box()
......
......@@ -1574,6 +1574,7 @@ gtk_window_add_accel_group (GtkWindow *window,
g_signal_connect_object (accel_group, "accel_changed",
G_CALLBACK (gtk_window_notify_keys_changed),
window, G_CONNECT_SWAPPED);
gtk_window_notify_keys_changed (window);
}
/**
......@@ -1594,6 +1595,7 @@ gtk_window_remove_accel_group (GtkWindow *window,
gtk_window_notify_keys_changed,
window);
_gtk_accel_group_detach (accel_group, G_OBJECT (window));
gtk_window_notify_keys_changed (window);
}
static GtkMnemonicHash *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment