evolution r36668 - in branches/gnome-2-24/calendar: . gui/dialogs



Author: mbarnes
Date: Mon Oct 20 15:57:53 2008
New Revision: 36668
URL: http://svn.gnome.org/viewvc/evolution?rev=36668&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:
   branches/gnome-2-24/calendar/ChangeLog
   branches/gnome-2-24/calendar/gui/dialogs/comp-editor.c

Modified: branches/gnome-2-24/calendar/gui/dialogs/comp-editor.c
==============================================================================
--- branches/gnome-2-24/calendar/gui/dialogs/comp-editor.c	(original)
+++ branches/gnome-2-24/calendar/gui/dialogs/comp-editor.c	Mon Oct 20 15:57:53 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]