aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--my-evolution/ChangeLog6
-rw-r--r--my-evolution/e-summary-preferences.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog
index 7bbb00c4d8..7319e050b3 100644
--- a/my-evolution/ChangeLog
+++ b/my-evolution/ChangeLog
@@ -1,3 +1,9 @@
+2001-09-06 Iain Holmes <iain@ximian.com>
+
+ * e-summary-preferences.c (e_summary_configure): Don't allow dialogs to
+ be opened more than once.
+ (property_box_destory_cb): NULL the window var.
+
2001-09-05 Ettore Perazzoli <ettore@ximian.com>
[Fix #958, ShellComponents should not be created by factories, for
diff --git a/my-evolution/e-summary-preferences.c b/my-evolution/e-summary-preferences.c
index 2410621e97..9df382ad5c 100644
--- a/my-evolution/e-summary-preferences.c
+++ b/my-evolution/e-summary-preferences.c
@@ -1387,6 +1387,7 @@ property_box_destroy_cb (GtkObject *object,
}
e_summary_preferences_save (pd->summary->preferences);
+ pd->summary->prefs_window = NULL;
free_property_dialog (pd);
}
@@ -1417,6 +1418,8 @@ e_summary_configure (GtkWidget *widget,
g_return_if_fail (pd->xml != NULL);
pd->box = GNOME_PROPERTY_BOX (glade_xml_get_widget (pd->xml, "dialog1"));
+ summary->prefs_window = pd->box;
+
gtk_window_set_title (GTK_WINDOW (pd->box), _("Summary Settings"));
if (make_property_dialog (pd) == FALSE) {
g_warning ("Missing some part of XML file");