aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-04-24 22:19:11 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-04-24 22:19:11 +0800
commit611ed0f3cfe8cfe29d8ed8e0830905cef96d9082 (patch)
tree3edbc279358c6face27e00efbea385340a69a1ba /composer
parent8ea9f9377f071d4e8088e5c744e5470ccddb0fb1 (diff)
downloadgsoc2013-evolution-611ed0f3cfe8cfe29d8ed8e0830905cef96d9082.tar
gsoc2013-evolution-611ed0f3cfe8cfe29d8ed8e0830905cef96d9082.tar.gz
gsoc2013-evolution-611ed0f3cfe8cfe29d8ed8e0830905cef96d9082.tar.bz2
gsoc2013-evolution-611ed0f3cfe8cfe29d8ed8e0830905cef96d9082.tar.lz
gsoc2013-evolution-611ed0f3cfe8cfe29d8ed8e0830905cef96d9082.tar.xz
gsoc2013-evolution-611ed0f3cfe8cfe29d8ed8e0830905cef96d9082.tar.zst
gsoc2013-evolution-611ed0f3cfe8cfe29d8ed8e0830905cef96d9082.zip
Fix the "Recent Documents" menu in CompEditor.
Diffstat (limited to 'composer')
-rw-r--r--composer/e-composer-private.c7
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);
}