aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-09-07 04:08:25 +0800
committerIain Holmes <iain@src.gnome.org>2001-09-07 04:08:25 +0800
commit3f7f2d2f2e9d344dd102d245aed8e0af2a102f47 (patch)
tree46805f23816620f74a5e550a44c7d41c2c3507ef /my-evolution
parente14c6141596aac5b34250f0a994cfa4f73516fcc (diff)
downloadgsoc2013-evolution-3f7f2d2f2e9d344dd102d245aed8e0af2a102f47.tar
gsoc2013-evolution-3f7f2d2f2e9d344dd102d245aed8e0af2a102f47.tar.gz
gsoc2013-evolution-3f7f2d2f2e9d344dd102d245aed8e0af2a102f47.tar.bz2
gsoc2013-evolution-3f7f2d2f2e9d344dd102d245aed8e0af2a102f47.tar.lz
gsoc2013-evolution-3f7f2d2f2e9d344dd102d245aed8e0af2a102f47.tar.xz
gsoc2013-evolution-3f7f2d2f2e9d344dd102d245aed8e0af2a102f47.tar.zst
gsoc2013-evolution-3f7f2d2f2e9d344dd102d245aed8e0af2a102f47.zip
Don't open multiple dialogs
svn path=/trunk/; revision=12656
Diffstat (limited to 'my-evolution')
-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");