From 4b140a897f1b45515ac9987e0b2d343c12f02f1c Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 27 Jan 2009 05:22:57 +0000 Subject: Make action group management in shell windows more elegant. svn path=/branches/kill-bonobo/; revision=37137 --- calendar/modules/e-cal-shell-view-memopad.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'calendar/modules/e-cal-shell-view-memopad.c') diff --git a/calendar/modules/e-cal-shell-view-memopad.c b/calendar/modules/e-cal-shell-view-memopad.c index dc3c384888..f5988dc125 100644 --- a/calendar/modules/e-cal-shell-view-memopad.c +++ b/calendar/modules/e-cal-shell-view-memopad.c @@ -341,14 +341,12 @@ e_cal_shell_view_memopad_actions_init (ECalShellView *cal_shell_view) EShellView *shell_view; EShellWindow *shell_window; GtkActionGroup *action_group; - GtkUIManager *ui_manager; shell_view = E_SHELL_VIEW (cal_shell_view); shell_window = e_shell_view_get_shell_window (shell_view); - ui_manager = e_shell_window_get_ui_manager (shell_window); /* Calendar Actions */ - action_group = cal_shell_view->priv->calendar_actions; + action_group = ACTION_GROUP (CALENDAR); gtk_action_group_add_actions ( action_group, calendar_memopad_entries, G_N_ELEMENTS (calendar_memopad_entries), cal_shell_view); -- cgit v1.2.3