Merge lp:~boiko/telephony-service/fix_1470938 into lp:telephony-service

Proposed by Gustavo Pichorim Boiko
Status: Merged
Approved by: Tiago Salem Herrmann
Approved revision: 1102
Merged at revision: 1102
Proposed branch: lp:~boiko/telephony-service/fix_1470938
Merge into: lp:telephony-service
Diff against target: 29 lines (+2/-5)
2 files modified
Ubuntu/Telephony/contactwatcher.cpp (+2/-2)
tests/common/mock/callchannel.cpp (+0/-3)
To merge this branch: bzr merge lp:~boiko/telephony-service/fix_1470938
Reviewer Review Type Date Requested Status
Tiago Salem Herrmann (community) Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+264907@code.launchpad.net

Commit message

Specify the domain when translating unknown and private number strings.

Description of the change

Specify the domain when translating unknown and private number strings.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1102. By Gustavo Pichorim Boiko

Do not unregister the channel to prevent crashes if the connection is not available.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Tiago Salem Herrmann (tiagosh) wrote :

Looks good!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'Ubuntu/Telephony/contactwatcher.cpp'
--- Ubuntu/Telephony/contactwatcher.cpp 2015-03-27 02:47:52 +0000
+++ Ubuntu/Telephony/contactwatcher.cpp 2015-07-17 18:19:41 +0000
@@ -176,9 +176,9 @@
176 mDetailProperties.clear();176 mDetailProperties.clear();
177177
178 if (isPrivate) {178 if (isPrivate) {
179 mAlias = C::gettext("Private Number");179 mAlias = C::dgettext("telephony-service", "Private Number");
180 } else if (isUnknown) {180 } else if (isUnknown) {
181 mAlias = C::gettext("Unknown Number");181 mAlias = C::dgettext("telephony-service", "Unknown Number");
182 }182 }
183183
184 Q_EMIT contactIdChanged();184 Q_EMIT contactIdChanged();
185185
=== modified file 'tests/common/mock/callchannel.cpp'
--- tests/common/mock/callchannel.cpp 2015-07-08 19:21:44 +0000
+++ tests/common/mock/callchannel.cpp 2015-07-17 18:19:41 +0000
@@ -178,9 +178,6 @@
178178
179MockCallChannel::~MockCallChannel()179MockCallChannel::~MockCallChannel()
180{180{
181 qDebug() << "call channel closed";
182 // TODO - for some reason the object is not being removed
183 mConnection->dbusConnection().unregisterObject(mBaseChannel->objectPath(), QDBusConnection::UnregisterTree);
184}181}
185182
186Tp::BaseChannelPtr MockCallChannel::baseChannel()183Tp::BaseChannelPtr MockCallChannel::baseChannel()

Subscribers

People subscribed via source and target branches