[smuxi/experiments/configurable_message_patterns: 4/7] Frontend-GNOME: re-enable username field for non-Twitter



commit 8613589e2500e35b8d552675b1e41ac1feb57524
Author: Mirco Bauer <meebey meebey net>
Date:   Fri Feb 14 19:38:56 2014 +0100

    Frontend-GNOME: re-enable username field for non-Twitter

 src/Frontend-GNOME/Views/ServerWidget.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/Frontend-GNOME/Views/ServerWidget.cs b/src/Frontend-GNOME/Views/ServerWidget.cs
index a71b9e6..c718b7a 100644
--- a/src/Frontend-GNOME/Views/ServerWidget.cs
+++ b/src/Frontend-GNOME/Views/ServerWidget.cs
@@ -139,6 +139,8 @@ namespace Smuxi.Frontend.Gnome
             // HACK: Twitter username is part of the PKEY, not allowed to change
             if (server.Protocol == "Twitter") {
                 f_UsernameEntry.Sensitive = false;
+            } else {
+                f_UsernameEntry.Sensitive = true;
             }
             f_PasswordEntry.Text = server.Password;
             f_UseEncryptionCheckButton.Active = server.UseEncryption;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]