aboutsummaryrefslogtreecommitdiffstats
path: root/mail/test-mail.c
diff options
context:
space:
mode:
authorBertrand Guiheneuf <bertrand@src.gnome.org>2000-03-06 17:38:42 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-03-06 17:38:42 +0800
commit7c164f12b9ae13cd2f7e068b1b8626701ab8390f (patch)
tree4027d784956aee7e7b28b78b563edcb639645cd5 /mail/test-mail.c
parentffad0d32ceef317c2995378f654e8214629948f0 (diff)
downloadgsoc2013-evolution-7c164f12b9ae13cd2f7e068b1b8626701ab8390f.tar.gz
gsoc2013-evolution-7c164f12b9ae13cd2f7e068b1b8626701ab8390f.tar.zst
gsoc2013-evolution-7c164f12b9ae13cd2f7e068b1b8626701ab8390f.zip
More changes than a man can remember.
The UI works now. svn path=/trunk/; revision=2074
Diffstat (limited to 'mail/test-mail.c')
-rw-r--r--mail/test-mail.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/test-mail.c b/mail/test-mail.c
index df9bd3dbcc..3d5174bdfa 100644
--- a/mail/test-mail.c
+++ b/mail/test-mail.c
@@ -16,8 +16,14 @@ create_container (void)
GtkWidget *window, *control;
BonoboUIHandler *uih;
+ gdk_rgb_init ();
+
+ gtk_widget_set_default_colormap (gdk_rgb_get_cmap ());
+ gtk_widget_set_default_visual (gdk_rgb_get_visual ());
+
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- gtk_widget_show (window);
+ gtk_widget_set_usize (GTK_WIDGET (window), 640, 480);
+ gtk_widget_show (GTK_WIDGET (window));
uih = bonobo_ui_handler_new ();
control = bonobo_widget_new_control ("GOADID:Evolution:FolderBrowser:1.0",