aboutsummaryrefslogtreecommitdiffstats
path: root/tests
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 /tests
parent25e2a5ee20863599f549db6feb1772f73f9ea47f (diff)
downloadgsoc2013-evolution-4c87a79aa40f9fccc40f036b8e182122914cadb0.tar.gz
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
Diffstat (limited to 'tests')
-rw-r--r--tests/ui-tests/message-browser.c19
1 files changed, 6 insertions, 13 deletions
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);
}