* Dims "Add to contacts" at startup of the widget, as clipboard
should be empty. This prevents trying to add a non valid contact
(fixes NB#57415).
pmo-trunk-r2010
action = gtk_ui_manager_get_action (parent_priv->ui_manager, "/MenuBar/EditMenu/EditCutMenu");
gtk_action_set_sensitive (action, FALSE);
+ /* also set the add to contacts status to false as it depends on clipboard status */
+ action = gtk_ui_manager_get_action (parent_priv->ui_manager, "/MenuBar/ToolsMenu/ToolsAddToContactsMenu");
+ gtk_action_set_sensitive (action, FALSE);
+
gtk_widget_grab_focus (priv->msg_view);
return MODEST_WINDOW(obj);