aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.glade
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-08-22 23:50:42 +0800
committerPeter Williams <peterw@src.gnome.org>2001-08-22 23:50:42 +0800
commite84ebd2e0a9ff78773bdd2cecfe0f2b6ebc2c252 (patch)
treeba38fc5831643d3a2646d89b63091272827f6959 /mail/mail-config.glade
parentad546eab4d56710ea0520353a276f3619f661d17 (diff)
downloadgsoc2013-evolution-e84ebd2e0a9ff78773bdd2cecfe0f2b6ebc2c252.tar
gsoc2013-evolution-e84ebd2e0a9ff78773bdd2cecfe0f2b6ebc2c252.tar.gz
gsoc2013-evolution-e84ebd2e0a9ff78773bdd2cecfe0f2b6ebc2c252.tar.bz2
gsoc2013-evolution-e84ebd2e0a9ff78773bdd2cecfe0f2b6ebc2c252.tar.lz
gsoc2013-evolution-e84ebd2e0a9ff78773bdd2cecfe0f2b6ebc2c252.tar.xz
gsoc2013-evolution-e84ebd2e0a9ff78773bdd2cecfe0f2b6ebc2c252.tar.zst
gsoc2013-evolution-e84ebd2e0a9ff78773bdd2cecfe0f2b6ebc2c252.zip
Prevent the user from creating two accounts with the same name.
2001-08-22 Peter Williams <peterw@ximian.com> Prevent the user from creating two accounts with the same name. * mail-config.c (impl_GNOME_Evolution_MailConfig_addAccount): Abort if the account has the same name as another account. * mail-account-gui.c (mail_account_gui_save): Don't let the user save if the account has the same name as another account. * mail-config-druid.c (management_check): Disable the next button if the account name is the same as a preexisting account. (construct): The only part of 'pages' that was being used was the name. 'wizard_pages' now has the callbacks, while 'pages' is just an array of char *'s. (wizard_finish_cb): Save the account first because that's the right way, and try to honor mail_account_gui_save's return value. * mail-config.glade: Add a label noting that you're not allowed to create two accounts with the same name. svn path=/trunk/; revision=12384
Diffstat (limited to 'mail/mail-config.glade')
-rw-r--r--mail/mail-config.glade17
1 files changed, 17 insertions, 0 deletions
diff --git a/mail/mail-config.glade b/mail/mail-config.glade
index 6dbce2a568..73309bdf1a 100644
--- a/mail/mail-config.glade
+++ b/mail/mail-config.glade
@@ -252,6 +252,23 @@ Click &quot;Finish&quot; to save your settings.</text>
<spacing>0</spacing>
<widget>
+ <class>GtkLabel</class>
+ <name>label40</name>
+ <label>Each account must have a different name.</label>
+ <justify>GTK_JUSTIFY_CENTER</justify>
+ <wrap>False</wrap>
+ <xalign>0.5</xalign>
+ <yalign>0.5</yalign>
+ <xpad>4</xpad>
+ <ypad>0</ypad>
+ <child>
+ <padding>0</padding>
+ <expand>False</expand>
+ <fill>False</fill>
+ </child>
+ </widget>
+
+ <widget>
<class>GtkHBox</class>
<name>hbox24</name>
<border_width>3</border_width>