aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-12-20 14:05:51 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-12-20 14:05:51 +0800
commita33720dba790586bddfeb9fa7d7a04adf79878d2 (patch)
treed2f16139ad164e86365298d9e6993db8b50d79be /shell/main.c
parent6cfbc6f4d946ea0976373b099284d5b5d5cfb4da (diff)
downloadgsoc2013-evolution-a33720dba790586bddfeb9fa7d7a04adf79878d2.tar
gsoc2013-evolution-a33720dba790586bddfeb9fa7d7a04adf79878d2.tar.gz
gsoc2013-evolution-a33720dba790586bddfeb9fa7d7a04adf79878d2.tar.bz2
gsoc2013-evolution-a33720dba790586bddfeb9fa7d7a04adf79878d2.tar.lz
gsoc2013-evolution-a33720dba790586bddfeb9fa7d7a04adf79878d2.tar.xz
gsoc2013-evolution-a33720dba790586bddfeb9fa7d7a04adf79878d2.tar.zst
gsoc2013-evolution-a33720dba790586bddfeb9fa7d7a04adf79878d2.zip
-- Merging patches from evolution-1-0-branch.
* e-shell-about-box.c: Add Michael MacDonald. [Fixes #17377, Evolution doesn't work on multi-depth displays.] * main.c (main): Push GdkRGB visual and colormap. [Fix #16693. What happens there is that the user closed the dialog before the async operation was completed, so when the notification was received the shell crashed.] * e-shell-folder-creation-dialog.c: New member `creation_in_progress' in `DialogData'. (e_shell_show_folder_creation_dialog): Init to %FALSE. (async_create_cb): Set to %FALSE. Also, if the dialog_data->dialog is %NULL, free the dialog_data before returning. (dialog_clicked_cb): Set to %TRUE. (dialog_destroy_cb): If a creation is in progress, just set the widget pointers in the DialogData struct to %NULL instead of freeing the whole struct. (async_create_cb): Make the OK and Cancel buttons sensitive. (dialog_clicked_cb): Make them insensitive here. svn path=/trunk/; revision=15192
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/main.c b/shell/main.c
index 06aefd84cc..766d6e6d7d 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -351,6 +351,9 @@ main (int argc, char **argv)
gtk_idle_add (idle_cb, uri_list);
+ gtk_widget_push_visual (gdk_rgb_get_visual ());
+ gtk_widget_push_colormap (gdk_rgb_get_cmap ());
+
bonobo_main ();
return 0;