[Xfce4-commits] <postler:master> Editing an account shouldn't change the account name

Christian Dywan noreply at xfce.org
Wed Nov 17 23:20:01 CET 2010


Updating branch refs/heads/master
         to ad356e46c5d15a452af890e4d5377299c7770abd (commit)
       from 35a74c6a935d962fabe682141f7cd55367ed0b1a (commit)

commit ad356e46c5d15a452af890e4d5377299c7770abd
Author: Christian Dywan <christian at twotoasts.de>
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;



More information about the Xfce4-commits mailing list