evolution r36667 - in trunk/calendar: . gui/dialogs



Author: mbarnes
Date: Mon Oct 20 15:56:38 2008
New Revision: 36667
URL: http://svn.gnome.org/viewvc/evolution?rev=36667&view=rev

Log:
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.



Modified:
   trunk/calendar/ChangeLog
   trunk/calendar/gui/dialogs/comp-editor.c

Modified: trunk/calendar/gui/dialogs/comp-editor.c
==============================================================================
--- trunk/calendar/gui/dialogs/comp-editor.c	(original)
+++ trunk/calendar/gui/dialogs/comp-editor.c	Mon Oct 20 15:56:38 2008
@@ -1741,6 +1741,10 @@
 	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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]