* renamed modest_ui_show_edit_window() to modest_ui_new_edit_window() in preparation...
authorNils Faerber <nils@kernelconcepts.de>
Wed, 7 Jun 2006 12:31:30 +0000 (12:31 +0000)
committerNils Faerber <nils@kernelconcepts.de>
Wed, 7 Jun 2006 12:31:30 +0000 (12:31 +0000)
pmo-trunk-r165

src/gtk-glade/modest-ui.c
src/modest-main.c
src/modest-ui.h

index f0f0cf8..40be4bb 100644 (file)
@@ -414,7 +414,7 @@ hide_edit_window (GtkWidget *win, GdkEvent *event, gpointer data)
 
 
 gboolean
-modest_ui_show_edit_window (ModestUI *modest_ui, const gchar* to,
+modest_ui_new_edit_window (ModestUI *modest_ui, const gchar* to,
                            const gchar* cc, const gchar* bcc,
                            const gchar* subject, const gchar *body,
                            const GSList* att)
@@ -777,7 +777,7 @@ static void
 on_new_mail_clicked (GtkWidget *widget, ModestUI *modest_ui)
 {
        g_return_if_fail (modest_ui);
-       modest_ui_show_edit_window (modest_ui, "", "", "", "", "", NULL);
+       modest_ui_new_edit_window (modest_ui, "", "", "", "", "", NULL);
 }
 
 
@@ -860,11 +860,11 @@ quoted_send_msg (ModestUI *modest_ui, quoted_send_type qstype) {
        switch (qstype) {
                case QUOTED_SEND_REPLY:
                        g_string_prepend(re_sub, _("Re: "));
-                       modest_ui_show_edit_window (modest_ui, from, /* cc */ "", /* bcc */ "", re_sub->str, quoted, NULL);
+                       modest_ui_new_edit_window (modest_ui, from, /* cc */ "", /* bcc */ "", re_sub->str, quoted, NULL);
                        break;
                case QUOTED_SEND_FORWARD:
                        g_string_prepend(re_sub, _("Fwd: "));
-                       modest_ui_show_edit_window (modest_ui, /* from */ "", /* cc */ "", /* bcc */ "", re_sub->str, quoted, NULL);
+                       modest_ui_new_edit_window (modest_ui, /* from */ "", /* cc */ "", /* bcc */ "", re_sub->str, quoted, NULL);
                        break;
                default:
                        break;
index e566099..5f97692 100644 (file)
@@ -96,7 +96,7 @@ main (int argc, char *argv[])
                gtk_init (&argc, &argv);
 
                if (mailto||cc||bcc||subject||body)
-                       ok = modest_ui_show_edit_window (modest_ui,
+                       ok = modest_ui_new_edit_window (modest_ui,
                                                         mailto,  /* to */
                                                         cc,      /* cc */
                                                         bcc,     /* bcc */
index fc487fc..d564f35 100644 (file)
@@ -64,7 +64,7 @@ gboolean     modest_ui_show_main_window (ModestUI *ui);
 
 
 /**
- * modest_ui_show_edit_window:
+ * modest_ui_new_edit_window:
  * @ui: a ModestUI instance 
  * @to: people to send this to, ';' separated
  * @cc: people to send carbon-copies (cc), ';' separated
@@ -75,7 +75,7 @@ gboolean     modest_ui_show_main_window (ModestUI *ui);
  *  
  * Returns: TRUE if succeeded, FALSE otherwise
  */
-gboolean     modest_ui_show_edit_window (ModestUI *ui,
+gboolean     modest_ui_new_edit_window (ModestUI *ui,
                                         const gchar* to,
                                         const gchar* cc,
                                         const gchar* bcc,