aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Loper <mloper@src.gnome.org>2000-02-10 02:38:42 +0800
committerMatthew Loper <mloper@src.gnome.org>2000-02-10 02:38:42 +0800
commit4c87a79aa40f9fccc40f036b8e182122914cadb0 (patch)
treec5d23e3fd73a0a767380e993cd4708734fb6ec0c
parent25e2a5ee20863599f549db6feb1772f73f9ea47f (diff)
downloadgsoc2013-evolution-4c87a79aa40f9fccc40f036b8e182122914cadb0.tar
gsoc2013-evolution-4c87a79aa40f9fccc40f036b8e182122914cadb0.tar.gz
gsoc2013-evolution-4c87a79aa40f9fccc40f036b8e182122914cadb0.tar.bz2
gsoc2013-evolution-4c87a79aa40f9fccc40f036b8e182122914cadb0.tar.lz
gsoc2013-evolution-4c87a79aa40f9fccc40f036b8e182122914cadb0.tar.xz
gsoc2013-evolution-4c87a79aa40f9fccc40f036b8e182122914cadb0.tar.zst
gsoc2013-evolution-4c87a79aa40f9fccc40f036b8e182122914cadb0.zip
Minor cleanup.
* tests/ui-tests/message-browser.c (print_usage_and_quit): Minor cleanup. svn path=/trunk/; revision=1710
-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);
}