aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-07-24 09:33:43 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-07-24 09:33:43 +0800
commit8dd7c75d2940282ec0bb41338e2ea24f5b799c98 (patch)
tree3365e58beae2ee33bec7c22e4de058f4bb0c61ab /shell
parent13c216222767075e4c4bfd77b025f7535923f344 (diff)
downloadgsoc2013-evolution-8dd7c75d2940282ec0bb41338e2ea24f5b799c98.tar
gsoc2013-evolution-8dd7c75d2940282ec0bb41338e2ea24f5b799c98.tar.gz
gsoc2013-evolution-8dd7c75d2940282ec0bb41338e2ea24f5b799c98.tar.bz2
gsoc2013-evolution-8dd7c75d2940282ec0bb41338e2ea24f5b799c98.tar.lz
gsoc2013-evolution-8dd7c75d2940282ec0bb41338e2ea24f5b799c98.tar.xz
gsoc2013-evolution-8dd7c75d2940282ec0bb41338e2ea24f5b799c98.tar.zst
gsoc2013-evolution-8dd7c75d2940282ec0bb41338e2ea24f5b799c98.zip
Only show the warning dialog instead of using `gnome_dialog_run()' so it
* main.c (development_warning): Only show the warning dialog instead of using `gnome_dialog_run()' so it is not modal. Modal would be nice, but unfortunately it works bad with Bonobo. Plus Sawfish doesn't like to keep the modal dialog on top, so it gets very confusing for users. svn path=/trunk/; revision=11331
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog8
-rw-r--r--shell/main.c12
2 files changed, 13 insertions, 7 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 9291d926f7..9f9af764cc 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,13 @@
2001-07-23 Ettore Perazzoli <ettore@ximian.com>
+ * main.c (development_warning): Only show the warning dialog
+ instead of using `gnome_dialog_run()' so it is not modal. Modal
+ would be nice, but unfortunately it works bad with Bonobo. Plus
+ Sawfish doesn't like to keep the modal dialog on top, so it gets
+ very confusing for users.
+
+2001-07-23 Ettore Perazzoli <ettore@ximian.com>
+
* e-task-widget.c (e_task_widget_construct): Uhm, set the usize to
`1, -1' instead.
diff --git a/shell/main.c b/shell/main.c
index 45d3fb278e..ca27b693b8 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -77,10 +77,8 @@ development_warning (void)
GtkWidget *label, *warning_dialog;
int ret;
- warning_dialog = gnome_dialog_new (
- "Evolution" VERSION,
- GNOME_STOCK_BUTTON_OK,
- NULL);
+ warning_dialog = gnome_dialog_new ("Evolution " VERSION, GNOME_STOCK_BUTTON_OK, NULL);
+
label = gtk_label_new (
/* xgettext:no-c-format */
_("Hi. Thanks for taking the time to download this preview release\n"
@@ -114,9 +112,9 @@ development_warning (void)
gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (warning_dialog)->vbox),
label, TRUE, TRUE, 0);
- ret = gnome_dialog_run (GNOME_DIALOG (warning_dialog));
- if (ret != -1)
- gtk_object_destroy (GTK_OBJECT (warning_dialog));
+ gnome_dialog_close_hides (GNOME_DIALOG (warning_dialog), FALSE);
+
+ gtk_widget_show (warning_dialog);
}