diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-04-24 22:19:11 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-04-24 22:19:11 +0800 |
commit | 611ed0f3cfe8cfe29d8ed8e0830905cef96d9082 (patch) | |
tree | 3edbc279358c6face27e00efbea385340a69a1ba /composer/e-composer-private.c | |
parent | 8ea9f9377f071d4e8088e5c744e5470ccddb0fb1 (diff) | |
download | gsoc2013-evolution-611ed0f3cfe8cfe29d8ed8e0830905cef96d9082.tar.gz gsoc2013-evolution-611ed0f3cfe8cfe29d8ed8e0830905cef96d9082.tar.zst gsoc2013-evolution-611ed0f3cfe8cfe29d8ed8e0830905cef96d9082.zip |
Fix the "Recent Documents" menu in CompEditor.
Diffstat (limited to 'composer/e-composer-private.c')
-rw-r--r-- | composer/e-composer-private.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c index fd345d6410..a6fe8720f5 100644 --- a/composer/e-composer-private.c +++ b/composer/e-composer-private.c @@ -53,7 +53,7 @@ composer_setup_recent_menu (EMsgComposer *composer) { EAttachmentView *view; GtkUIManager *manager; - GtkAction *action = NULL; + GtkAction *action; const gchar *action_name; const gchar *path; guint merge_id; @@ -71,10 +71,9 @@ composer_setup_recent_menu (EMsgComposer *composer) gtk_action_group_add_action ( composer->priv->composer_actions, action); - gtk_ui_manager_add_ui ( + gtk_ui_manager_add_ui ( manager, merge_id, path, - action_name, - action_name, + action_name, action_name, GTK_UI_MANAGER_AUTO, FALSE); } |