diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2008-10-20 23:56:38 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-20 23:56:38 +0800 |
commit | 0031f7a894a5498d985e438af3527dc6905c4b70 (patch) | |
tree | 58b418d0e768d9c1ad2d74d2108c1bc0a5e41fc5 /calendar/gui | |
parent | 0ec5adff542f07f1e6117cf908c9b0a71b7ccb9c (diff) | |
download | gsoc2013-evolution-0031f7a894a5498d985e438af3527dc6905c4b70.tar gsoc2013-evolution-0031f7a894a5498d985e438af3527dc6905c4b70.tar.gz gsoc2013-evolution-0031f7a894a5498d985e438af3527dc6905c4b70.tar.bz2 gsoc2013-evolution-0031f7a894a5498d985e438af3527dc6905c4b70.tar.lz gsoc2013-evolution-0031f7a894a5498d985e438af3527dc6905c4b70.tar.xz gsoc2013-evolution-0031f7a894a5498d985e438af3527dc6905c4b70.tar.zst gsoc2013-evolution-0031f7a894a5498d985e438af3527dc6905c4b70.zip |
** Fixes bug #555958 (patch by Anis Elleuch)
2008-10-20 Matthew Barnes <mbarnes@redhat.com>
** 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
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |