Revision 673213a7
| b/ChangeLog | ||
|---|---|---|
| 18 | 18 |
* tabs: #2005 fixed: support for alt+[0-9] shurtcuts in tabs window (mazlik) |
| 19 | 19 |
* build: by default compile with optimizations turned on (RelWithDebInfo instead of Debug) (beevvy) |
| 20 | 20 |
* spellchecker: switch default backend from aspell to enchant (aspell is still available) (beevvy) |
| 21 |
* core: #2551 done: use the most online account's status for the tray icon (ultr) |
|
| 22 | 21 |
* gui: #2581 fixed: properly ignore non-existing avatars (Vogel) |
| 23 | 22 |
* core: #2559 fixed: StatusContainer::status() should return actual status instead of desired one (ultr) |
| 24 | 23 |
* gui: #2069 fixed: toggle checkboxes when the items are clicked in Delete Buddy window (ultr) |
| b/kadu-core/status/status-container-manager.cpp | ||
|---|---|---|
| 2 | 2 |
* %kadu copyright begin% |
| 3 | 3 |
* Copyright 2009, 2010, 2010, 2011 Piotr Galiszewski (piotr.galiszewski@kadu.im) |
| 4 | 4 |
* Copyright 2010 Wojciech Treter (juzefwt@gmail.com) |
| 5 |
* Copyright 2010, 2011, 2012 Piotr Dąbrowski (ultr@ultr.pl)
|
|
| 5 |
* Copyright 2010, 2011 Piotr Dąbrowski (ultr@ultr.pl) |
|
| 6 | 6 |
* Copyright 2009, 2009, 2010, 2011 Rafał Malinowski (rafal.przemyslaw.malinowski@gmail.com) |
| 7 | 7 |
* Copyright 2010, 2011 Bartosz Brachaczek (b.brachaczek@gmail.com) |
| 8 | 8 |
* %kadu copyright end% |
| ... | ... | |
| 218 | 218 |
|
| 219 | 219 |
Status StatusContainerManager::status() |
| 220 | 220 |
{
|
| 221 |
Status status; |
|
| 222 |
|
|
| 223 |
foreach (const Account &account, AccountManager::instance()->items()) |
|
| 224 |
if (account.statusContainer()->status() < status) |
|
| 225 |
status = account.statusContainer()->status(); |
|
| 226 |
|
|
| 227 |
return status; |
|
| 221 |
return DefaultStatusContainer |
|
| 222 |
? DefaultStatusContainer->status() |
|
| 223 |
: Status(); |
|
| 228 | 224 |
} |
| 229 | 225 |
|
| 230 | 226 |
bool StatusContainerManager::isStatusSettingInProgress() |
Also available in: Unified diff