aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-10-06 02:24:15 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-10-06 02:24:15 +0800
commite95a0b6c8bac715a505f4ebfa15450fe98a15326 (patch)
treef144f98cfaadc5efa6111a48121bf5085e4b86f6
parent171018d3116779391e550cdce5413f1ee893fa68 (diff)
downloadgsoc2013-evolution-e95a0b6c8bac715a505f4ebfa15450fe98a15326.tar
gsoc2013-evolution-e95a0b6c8bac715a505f4ebfa15450fe98a15326.tar.gz
gsoc2013-evolution-e95a0b6c8bac715a505f4ebfa15450fe98a15326.tar.bz2
gsoc2013-evolution-e95a0b6c8bac715a505f4ebfa15450fe98a15326.tar.lz
gsoc2013-evolution-e95a0b6c8bac715a505f4ebfa15450fe98a15326.tar.xz
gsoc2013-evolution-e95a0b6c8bac715a505f4ebfa15450fe98a15326.tar.zst
gsoc2013-evolution-e95a0b6c8bac715a505f4ebfa15450fe98a15326.zip
#include "e-util/e-gtk-utils.h". (quit_box_new): Queue a draw on the
* main.c: #include "e-util/e-gtk-utils.h". (quit_box_new): Queue a draw on the window; otherwise it seems to fail to redraw in some cases for some reason [see #11412]. svn path=/trunk/; revision=13450
-rw-r--r--shell/ChangeLog6
-rw-r--r--shell/main.c7
2 files changed, 13 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 884fa7fdef..8ecf5a92f6 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,11 @@
2001-10-05 Ettore Perazzoli <ettore@ximian.com>
+ * main.c: #include "e-util/e-gtk-utils.h".
+ (quit_box_new): Queue a draw on the window; otherwise it seems to
+ fail to redraw in some cases for some reason [see #11412].
+
+2001-10-05 Ettore Perazzoli <ettore@ximian.com>
+
* evolution-shell-component.c (impl_setOwner): If the owner is
dead, emit "owner_died" instead of "owner_unset".
(impl_owner_died): New, default implementation for "owner_died".
diff --git a/shell/main.c b/shell/main.c
index 3cc7bfd236..2e6d95e612 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -50,6 +50,9 @@
#include <gal/widgets/e-gui-utils.h>
#include <gal/widgets/e-cursors.h>
+
+#include "e-util/e-gtk-utils.h"
+
#include "e-setup.h"
#include "e-shell.h"
@@ -88,6 +91,10 @@ quit_box_new (void)
gtk_widget_show (label);
gtk_widget_show (window);
+ /* For some reason, the window fails to update without this
+ sometimes. */
+ gtk_widget_queue_draw (window);
+
while (gtk_events_pending ())
gtk_main_iteration ();