| Summary: | Incorrect name of contact in titlebar | ||
|---|---|---|---|
| Product: | [Unmaintained] kopete | Reporter: | Christopher Moore <konoko90> |
| Component: | History Plugin | Assignee: | Kopete Developers <kopete-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 0.11.1 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Patch to fix | ||
|
Description
Christopher Moore
2006-04-19 12:42:12 UTC
Confirmed on 0.12branch r522070. Created attachment 15689 [details]
Patch to fix
Here's a patch (against 0.12branch) with a fix. Apply in
kopete/kopete/plugins/history . Two notes:
1. It needs to display "History for All Contacts" when "All" is selected. This
breaks the string freeze, but you could work around it by using i18n("History
for %1").arg(i18n("All")) (!), since the strings "History for %1" and "All"
already appear.
2. I couldn't persuade emacs to obey the indenting, so my indenting doesn't
match the rest of the file. Sorry.
SVN commit 531499 by philrod:
Update history dialog caption when contact is changed
BUG:125875
M +3 -1 historydialog.cpp
--- branches/kopete/0.12/kopete/plugins/history/historydialog.cpp #531498:531499
@@ -576,12 +576,14 @@
mMainWidget->dateListView->clear();
if (index == 0)
{
- mMetaContact = 0;
+ setCaption(i18n("History for All Contacts"));
+ mMetaContact = 0;
init();
}
else
{
mMetaContact = mMetaContactList.at(index-1);
+ setCaption(i18n("History for %1").arg(mMetaContact->displayName()));
init();
}
}
|