From a33720dba790586bddfeb9fa7d7a04adf79878d2 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 20 Dec 2001 06:05:51 +0000 Subject: -- 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 --- shell/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shell/main.c') 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; -- cgit v1.2.3