Mercurial > pidgin
changeset 20996:ec3736fe2e4e
There's an #ifdef in MSIM which, if enabled, allows the user to specify
which information should be show in the status line. By default it shows
the buddy's server-side alias, which is contrary to Pidgin's default use
of this line, and the code to allow configuration is also off by default.
This makes the "Headline" which is effectively your status message display
by default instead. Fixes #3064
author | Kevin Stange <kevin@simguy.net> |
---|---|
date | Fri, 19 Oct 2007 03:23:11 +0000 |
parents | 87c9d114864b |
children | 4495a311b959 |
files | libpurple/protocols/myspace/myspace.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c Fri Oct 19 03:05:58 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.c Fri Oct 19 03:23:11 2007 +0000 @@ -2542,14 +2542,14 @@ display_name = headline = NULL; /* Retrieve display name and/or headline, depending on user preference. */ - if (purple_account_get_bool(session->account, "show_display_name", TRUE)) { + if (purple_account_get_bool(session->account, "show_headline", TRUE)) { + headline = user->headline; + } + + if (purple_account_get_bool(session->account, "show_display_name", FALSE)) { display_name = user->display_name; } - if (purple_account_get_bool(session->account, "show_headline", FALSE)) { - headline = user->headline; - } - /* Return appropriate combination of display name and/or headline, or neither. */ if (display_name && headline) {