From 0031f7a894a5498d985e438af3527dc6905c4b70 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 20 Oct 2008 15:56:38 +0000 Subject: ** Fixes bug #555958 (patch by Anis Elleuch) 2008-10-20 Matthew Barnes ** Fixes bug #555958 (patch by Anis Elleuch) * calendar/gui/dialogs/comp-editor.c (comp_editor_init): Add the UI manager's accelerator group to the editor window so that menu shortcut keys work. svn path=/trunk/; revision=36667 --- calendar/gui/dialogs/comp-editor.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'calendar/gui/dialogs/comp-editor.c') diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index cbd6b3f778..16bdb979e1 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -1741,6 +1741,10 @@ comp_editor_init (CompEditor *editor) priv->attachment_bar = e_attachment_bar_new (NULL); priv->manager = gtk_ui_manager_new (); + gtk_window_add_accel_group ( + GTK_WINDOW (editor), + gtk_ui_manager_get_accel_group (priv->manager)); + action_group = gtk_action_group_new ("core"); gtk_action_group_set_translation_domain ( action_group, GETTEXT_PACKAGE); -- cgit v1.2.3