* Dim the "Move to" icon and menu entry when a message is
[modest] / src / gnome / modest-msg-view-window.c
index 6b6258d..68fe792 100644 (file)
@@ -222,8 +222,8 @@ on_delete_event (GtkWidget *widget, GdkEvent *event, ModestMsgViewWindow *self)
 
 
 ModestWindow *
-modest_msg_view_window_new (TnyMsg *msg, 
-                           const gchar *account, 
+modest_msg_view_window_new_for_attachment (TnyMsg *msg, 
+                           const gchar *modest_account_name, 
                            const gchar *msg_uid)
 {
        GObject *obj;
@@ -336,7 +336,7 @@ modest_msg_view_window_get_message_uid (ModestMsgViewWindow *self)
 
 ModestWindow*   
 modest_msg_view_window_new_with_header_model (TnyMsg *msg, 
-                                             const gchar *account, 
+                                             const gchar *modest_account_name, 
                                              const gchar *msg_uid,
                                              GtkTreeModel *model, 
                                              GtkTreeRowReference *row_reference)
@@ -346,7 +346,7 @@ modest_msg_view_window_new_with_header_model (TnyMsg *msg,
           actions */
        g_message ("partially implemented %s", __FUNCTION__);
 
-       return modest_msg_view_window_new (msg, account);
+       return modest_msg_view_window_new_for_attachment (msg, account);
 }