aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-12-20 14:15:53 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-12-20 14:15:53 +0800
commitd6c6c7333070ca76003c05e735f19c918d565570 (patch)
tree48ad77ff4d7b14ee7c5d192e66af996509048148
parentc279319bc5f1936ff8c68344fa0a97f9dc5b334a (diff)
downloadgsoc2013-evolution-d6c6c7333070ca76003c05e735f19c918d565570.tar.gz
gsoc2013-evolution-d6c6c7333070ca76003c05e735f19c918d565570.tar.zst
gsoc2013-evolution-d6c6c7333070ca76003c05e735f19c918d565570.zip
-- Merge fix for #17377 from the evolution-1-0-branch.
* main.c (main): Push GdkRGB visual and colormap. svn path=/trunk/; revision=15195
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/main.c3
-rw-r--r--my-evolution/ChangeLog6
-rw-r--r--my-evolution/main.c3
4 files changed, 18 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index fbef455982..6bd057bbaa 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2001-12-20 Ettore Perazzoli <ettore@ximian.com>
+
+ [Fixes #17377, Evolution doesn't work on multi-depth displays.]
+
+ * main.c (main): Push GdkRGB visual and colormap.
+
2001-12-19 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (composer_get_message): Add the auto-cc/bcc
diff --git a/mail/main.c b/mail/main.c
index ef3f7f0ab4..10497a145d 100644
--- a/mail/main.c
+++ b/mail/main.c
@@ -126,6 +126,9 @@ main (int argc, char *argv [])
"Bonobo against GOAD instead of OAF.");
}
+ gtk_widget_push_visual (gdk_rgb_get_visual ());
+ gtk_widget_push_colormap (gdk_rgb_get_cmap ());
+
#ifdef GTKHTML_HAVE_GCONF
gconf_init (argc, argv, NULL);
#endif
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog
index d6f6f5941c..c1f2b9fe8f 100644
--- a/my-evolution/ChangeLog
+++ b/my-evolution/ChangeLog
@@ -1,3 +1,9 @@
+2001-12-20 Ettore Perazzoli <ettore@ximian.com>
+
+ [Fixes #17377, Evolution doesn't work on multi-depth displays.]
+
+ * main.c (main): Push GdkRGB visual and colormap.
+
2001-12-19 JP Rosevear <jpr@ximian.com>
* e-summary-tasks.c (e_summary_tasks_init): use
diff --git a/my-evolution/main.c b/my-evolution/main.c
index 28649f1810..107b0919b8 100644
--- a/my-evolution/main.c
+++ b/my-evolution/main.c
@@ -74,6 +74,9 @@ main (int argc,
glade_gnome_init ();
gnome_vfs_init ();
+ gtk_widget_push_visual (gdk_rgb_get_visual ());
+ gtk_widget_push_colormap (gdk_rgb_get_cmap ());
+
/* Start our component */
component_factory_init ();