Updating branch refs/heads/master
to ad356e46c5d15a452af890e4d5377299c7770abd (commit)
from 35a74c6a935d962fabe682141f7cd55367ed0b1a (commit)
commit ad356e46c5d15a452af890e4d5377299c7770abd
Author: Christian Dywan <[email protected]>
Date: Wed Nov 17 23:19:17 2010 +0100
Editing an account shouldn't change the account name
postler/postler-accountsetup.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/postler/postler-accountsetup.vala
b/postler/postler-accountsetup.vala
index 7caeef8..8a230f8 100644
--- a/postler/postler-accountsetup.vala
+++ b/postler/postler-accountsetup.vala
@@ -88,7 +88,8 @@ public class Postler.AccountSetup : Gtk.Dialog {
void responded (int response) {
if (response == Gtk.ResponseType.APPLY) {
- info.name = address.text;
+ if (info.name == null)
+ info.name = address.text;
info.realname = realname.text;
info.address = address.text;
info.password = password.text;
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits