diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-09-18 07:21:34 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-09-18 07:21:34 +0800 |
commit | 0e432a12de0c6f6eda908e2628baf84eef575579 (patch) | |
tree | 3073349a008beaf82058bce0eb2faa6a1fb918d6 | |
parent | f88ca730db134f1d081b415110a2303344ea8ef4 (diff) | |
download | gsoc2013-evolution-0e432a12de0c6f6eda908e2628baf84eef575579.tar.gz gsoc2013-evolution-0e432a12de0c6f6eda908e2628baf84eef575579.tar.zst gsoc2013-evolution-0e432a12de0c6f6eda908e2628baf84eef575579.zip |
Call `e_make_widget_backing_stored()' on the widget so it refreshes
* main.c (quit_box_new): Call `e_make_widget_backing_stored()' on
the widget so it refreshes properly even when we are busy waiting
on CORBA calls.
svn path=/trunk/; revision=12920
-rw-r--r-- | shell/ChangeLog | 6 | ||||
-rw-r--r-- | shell/main.c | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index c8e0ee5130..2a59aabf3f 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,5 +1,11 @@ 2001-09-17 Ettore Perazzoli <ettore@ximian.com> + * main.c (quit_box_new): Call `e_make_widget_backing_stored()' on + the widget so it refreshes properly even when we are busy waiting + on CORBA calls. + +2001-09-17 Ettore Perazzoli <ettore@ximian.com> + * main.c (quit_box_new): New. (quit_box_destroyed_callback): New. (no_views_left_cb): Use these two functions to display a warning diff --git a/shell/main.c b/shell/main.c index b39ae83cba..3cc7bfd236 100644 --- a/shell/main.c +++ b/shell/main.c @@ -31,6 +31,9 @@ #include <gtk/gtksignal.h> #include <gtk/gtkwindow.h> +#include <gdk/gdkx.h> +#include <X11/Xlib.h> + #include <libgnome/gnome-defs.h> #include <libgnome/gnome-i18n.h> #include <libgnome/gnome-util.h> @@ -68,6 +71,8 @@ quit_box_new (void) window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER); + e_make_widget_backing_stored (window); + gtk_window_set_title (GTK_WINDOW (window), _("Evolution")); frame = gtk_frame_new (NULL); |