aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorFelix Kaser <f.kaser@gmx.net>2010-09-02 00:19:18 +0800
committerFelix Kaser <f.kaser@gmx.net>2010-09-02 00:19:18 +0800
commit007716dcb3720dc85aedbf01f33b787f66a2f8e6 (patch)
tree07166fe56b73973d964a090ef78e4fc65d2fb179 /libempathy-gtk
parentab1bd1a137ac8ffd7245669663e739e309a0a86f (diff)
downloadgsoc2013-empathy-007716dcb3720dc85aedbf01f33b787f66a2f8e6.tar
gsoc2013-empathy-007716dcb3720dc85aedbf01f33b787f66a2f8e6.tar.gz
gsoc2013-empathy-007716dcb3720dc85aedbf01f33b787f66a2f8e6.tar.bz2
gsoc2013-empathy-007716dcb3720dc85aedbf01f33b787f66a2f8e6.tar.lz
gsoc2013-empathy-007716dcb3720dc85aedbf01f33b787f66a2f8e6.tar.xz
gsoc2013-empathy-007716dcb3720dc85aedbf01f33b787f66a2f8e6.tar.zst
gsoc2013-empathy-007716dcb3720dc85aedbf01f33b787f66a2f8e6.zip
do not set the overridden flag when creating
when we are creating a new account we should not set the display-name-overridden flag, since then changes in the account details wont update the name in the accounts tree.
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-account-widget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 28a2fd3f0..f6bf28d60 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -1805,7 +1805,8 @@ do_constructed (GObject *obj)
display_name = empathy_account_settings_get_display_name (priv->settings);
default_display_name = empathy_account_widget_get_default_display_name (self);
- if (tp_strdiff (display_name, default_display_name))
+ if (tp_strdiff (display_name, default_display_name) &&
+ !priv->creating_account)
{
/* The display name of the account is not the one that we'd assign by
* default; assume that the user changed it manually */