From 3f7f2d2f2e9d344dd102d245aed8e0af2a102f47 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Thu, 6 Sep 2001 20:08:25 +0000 Subject: Don't open multiple dialogs svn path=/trunk/; revision=12656 --- my-evolution/ChangeLog | 6 ++++++ my-evolution/e-summary-preferences.c | 3 +++ 2 files changed, 9 insertions(+) (limited to 'my-evolution') 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 + + * 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 [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"); -- cgit