aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog13
-rw-r--r--tests/ui-tests/message-browser.c19
2 files changed, 15 insertions, 17 deletions
diff --git a/ChangeLog b/ChangeLog
index 7e2951d7f6..b892b74c75 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-02-09 Matt Loper <matt@helixcode.com>
+
+ * tests/ui-tests/message-browser.c (print_usage_and_quit): Minor
+ cleanup.
+
2000-02-09 NotZed <notzed@zedzone.helixcode.com>
* camel/camel-simple-data-wrapper-stream.c (class_init): Actually
@@ -19,7 +24,7 @@
* widgets/Makefile.am: Remove all e-text and e-minicard code and
add them to the SUBDIRS list.
-2000-02-08 Matt Loper <matt.loper@splashtech.com>
+2000-02-08 Matt Loper <matt@helixcode.com>
* tests/ui-tests/message-browser.c: New file; shows a message in
tree format, where multipart's have multiple leaves.
@@ -69,7 +74,7 @@
* addressbook/printing/e-contact-print.c: Removed an unneccessary
include of libhnj. All uses of libhnj are commented out.
-2000-02-07 Matt Loper <matt.loper@splashtech.com>
+2000-02-07 Matt Loper <matt@helixcode.com>
* camel/camel-formatter.c (mime_part_to_html): function deleted.
@@ -96,7 +101,7 @@
use find_preferred_displayable_body_part_in_multipart_alternative
instead of the other names. Allows camel to have no undefined symbols.
-2000-02-02 Matt Loper <matt.loper@splashtech.com>
+2000-02-02 Matt Loper <matt@helixcode.com>
* tests/test-formatter.c: New file; intended to test the
CamelFormatter class.
@@ -197,7 +202,7 @@
* widgets/e-minicard-label.c: Forward enter and leave
notifications to the contained editable text item.
-2000-01-26 Matt Loper <matt.loper@splashtech.com>
+2000-01-26 Matt Loper <matt@helixcode.com>
* camel/camel-formatter.c: By looking up a mimetype in a
hashtable, we can now get a handler function for an arbitrary
diff --git a/tests/ui-tests/message-browser.c b/tests/ui-tests/message-browser.c
index b0e20288df..39bcab4dfd 100644
--- a/tests/ui-tests/message-browser.c
+++ b/tests/ui-tests/message-browser.c
@@ -76,19 +76,11 @@ get_message_tree_ctrl (CamelMimeMessage* message)
tree_ctrl);
gtk_widget_set_usize (scroll_wnd, 150, 200);
+/*
+ * Recursively insert tree items in the tree
+ */
handle_tree_item (message_contents, tree_ctrl);
-#if 0
- for (i = 0; i < 10; i++)
- {
- GtkWidget* tree_item =
- gtk_tree_item_new_with_label ("hello");
- GtkWidget* subtree = gtk_tree_new();
- gtk_tree_append (GTK_TREE (tree_ctrl), tree_item);
- gtk_tree_item_set_subtree (tree_item, subtree);
- }
-#endif
-
return scroll_wnd;
}
@@ -116,8 +108,9 @@ filename_to_camel_msg (gchar* filename)
static void
print_usage_and_quit()
{
- g_print ("Usage: message-browser [FILENAME]\n\n");
- g_print ("\tWhere FILENAME is the name of a message\n");
+ g_print ("Usage: message-browser [FILENAME]\n");
+ g_print ("Where FILENAME is the filename of a mime message ");
+ g_print ("in \"message/rfc822\" format.\n");
exit (0);
}