aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-preferences.c
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/e-summary-preferences.c
parente14c6141596aac5b34250f0a994cfa4f73516fcc (diff)
downloadgsoc2013-evolution-3f7f2d2f2e9d344dd102d245aed8e0af2a102f47.tar.gz
gsoc2013-evolution-3f7f2d2f2e9d344dd102d245aed8e0af2a102f47.tar.zst
gsoc2013-evolution-3f7f2d2f2e9d344dd102d245aed8e0af2a102f47.zip
Don't open multiple dialogs
svn path=/trunk/; revision=12656
Diffstat (limited to 'my-evolution/e-summary-preferences.c')
-rw-r--r--my-evolution/e-summary-preferences.c3
1 files changed, 3 insertions, 0 deletions
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");