diff options
author | Chris Toshok <toshok@src.gnome.org> | 2000-03-28 11:02:12 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-03-28 11:02:12 +0800 |
commit | bd46ea2926e3f244d6d875195363d261f53a4e07 (patch) | |
tree | cf4b52a6b940aebdd4ea234d569a9a042dab1345 | |
parent | 15287c0ce663905936d69acd7874d9efea5cb285 (diff) | |
download | gsoc2013-evolution-bd46ea2926e3f244d6d875195363d261f53a4e07.tar.gz gsoc2013-evolution-bd46ea2926e3f244d6d875195363d261f53a4e07.tar.zst gsoc2013-evolution-bd46ea2926e3f244d6d875195363d261f53a4e07.zip |
quiet warnings when building in ../po
* mail-display.c: quiet warnings when building in ../po
svn path=/trunk/; revision=2204
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/mail-display.c | 108 |
2 files changed, 57 insertions, 54 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 36b10f898a..1c5721af0c 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,6 @@ +2000-03-27 Chris Toshok <toshok@helixcode.com> + * mail-display.c: quiet warnings when building in ../po + 2000-03-26 Miguel de Icaza <miguel@gnu.org> * folder-browser-factory.c (folder_browser_set_shell): Memory leak diff --git a/mail/mail-display.c b/mail/mail-display.c index e22735c2e7..57da4b65f8 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -27,42 +27,42 @@ static GtkObjectClass *mail_display_parent_class; -static gchar default_header_html_string[] = " -<!doctype html public \"-//w3c//dtd html 4.0 transitional//en\"> -<html> -<head> - <meta name=\"GENERATOR\" content=\"Evolution Mail Component (Rhon Rhon release)\"> -</head> -<body text=\"#000000\" bgcolor=\"#999999\"> -<table CELLSPACING=0 WIDTH=\"100\%\"> -<tr> -<td><b>From: </b></td> -<td><b>To: </b></td> -</tr> - -<tr> -<td><b>Subject: </b></td> -<td><b>Cc: </b></td> -</tr> -</table> -</body> -</html> +static gchar default_header_html_string[] = "\n\ +<!doctype html public \"-//w3c//dtd html 4.0 transitional//en\">\n\ +<html>\n\ +<head>\n\ + <meta name=\"GENERATOR\" content=\"Evolution Mail Component (Rhon Rhon release)\">\n\ +</head>\n\ +<body text=\"#000000\" bgcolor=\"#999999\">\n\ +<table CELLSPACING=0 WIDTH=\"100\%\">\n\ +<tr>\n\ +<td><b>From: </b></td>\n\ +<td><b>To: </b></td>\n\ +</tr>\n\ +\n\ +<tr>\n\ +<td><b>Subject: </b></td>\n\ +<td><b>Cc: </b></td>\n\ +</tr>\n\ +</table>\n\ +</body>\n\ +</html>\n\ "; -static gchar default_body_html_string[] = " -<!doctype html public \"-//w3c//dtd html 4.0 transitional//en\"> -<html> -<head> - <meta name=\"GENERATOR\" content=\"Evolution Mail Component (Rhon Rhon release)\"> -</head> -<body text=\"#000000\" bgcolor=\"#FFFFFF\"> -<center> -Nothing to display in this view -</center> -</body> -</html> +static gchar default_body_html_string[] = "\n\ +<!doctype html public \"-//w3c//dtd html 4.0 transitional//en\">\n\ +<html>\n\ +<head>\n\ + <meta name=\"GENERATOR\" content=\"Evolution Mail Component (Rhon Rhon release)\">\n\ +</head>\n\ +<body text=\"#000000\" bgcolor=\"#FFFFFF\">\n\ +<center>\n\ +Nothing to display in this view\n\ +</center>\n\ +</body>\n\ +</html>\n\ "; @@ -313,23 +313,23 @@ mail_display_set_message (MailDisplay *mail_display, * and stream the result to the gtkhtml * widgets */ - camel_stream_write_string (mail_display->headers_stream, " -<!doctype html public \"-//w3c//dtd html 4.0 transitional//en\"> -<html> -<head> - <meta name=\"GENERATOR\" content=\"Evolution Mail Component (Rhon Rhon release)\"> -</head> -<body text=\"#000000\" bgcolor=\"#999999\"> -<font> + camel_stream_write_string (mail_display->headers_stream, "\n\ +<!doctype html public \"-//w3c//dtd html 4.0 transitional//en\">\n\ +<html>\n\ +<head>\n\ + <meta name=\"GENERATOR\" content=\"Evolution Mail Component (Rhon Rhon release)\">\n\ +</head>\n\ +<body text=\"#000000\" bgcolor=\"#999999\">\n\ +<font>\n\ ");; - camel_stream_write_string (mail_display->body_stream, " -<!doctype html public \"-//w3c//dtd html 4.0 transitional//en\"> -<html> -<head> - <meta name=\"GENERATOR\" content=\"Evolution Mail Component (Rhon Rhon release)\"> -</head> -<body text=\"#000000\" bgcolor=\"#FFFFFF\"> + camel_stream_write_string (mail_display->body_stream, "\n\ +<!doctype html public \"-//w3c//dtd html 4.0 transitional//en\">\n\ +<html>\n\ +<head>\n\ + <meta name=\"GENERATOR\" content=\"Evolution Mail Component (Rhon Rhon release)\">\n\ +</head>\n\ +<body text=\"#000000\" bgcolor=\"#FFFFFF\">\n\ ");; @@ -342,15 +342,15 @@ mail_display_set_message (MailDisplay *mail_display, gtk_object_unref (GTK_OBJECT (camel_formatter)); - camel_stream_write_string (mail_display->headers_stream, " -</font> -</body> -</html> + camel_stream_write_string (mail_display->headers_stream, "\n\ +</font>\n\ +</body>\n\ +</html>\n\ ");; - camel_stream_write_string (mail_display->body_stream, " -</body> -</html> + camel_stream_write_string (mail_display->body_stream, "\n\ +</body>\n\ +</html>\n\ ");; camel_stream_close (mail_display->body_stream); |