Merge lp:~feng-kylin/ubuntu-settings-components/addSupportToOpenUrlInIndicator into lp:~registry/ubuntu-settings-components/trunk

Proposed by handsome_feng
Status: Work in progress
Proposed branch: lp:~feng-kylin/ubuntu-settings-components/addSupportToOpenUrlInIndicator
Merge into: lp:~registry/ubuntu-settings-components/trunk
Diff against target: 12 lines (+2/-0)
1 file modified
plugins/Ubuntu/Settings/Components/MessageHeader.qml (+2/-0)
To merge this branch: bzr merge lp:~feng-kylin/ubuntu-settings-components/addSupportToOpenUrlInIndicator
Reviewer Review Type Date Requested Status
Sebastien Bacher (community) Needs Information
Registry Administrators Pending
Review via email: mp+258837@code.launchpad.net

Commit message

Added the support of opening URL in text viewed in the message indicator.

Description of the change

Added the support of opening URL in text viewed in the message indicator.

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, is there a bug about that change? It might need design input?

review: Needs Information
Revision history for this message
handsome_feng (feng-kylin) wrote :

> Thanks, is there a bug about that change? It might need design input?

Yes, this code is to fix the unity8 bug 1277311:"can't open URL in text viewed in the message indicator", but because the corresponding changes in unity8 have been rejected, I will make the status to “in progress” temporarily.

Revision history for this message
Sebastien Bacher (seb128) wrote :

thanks, when you fix a bug it's a good practice to link the commit/merge request to it

Revision history for this message
Sebastien Bacher (seb128) wrote :

> but because the corresponding changes in unity8 have been rejected

what do you mean? reading the bug you refered to I don't see rejected changes or unity8 needed ones

Revision history for this message
handsome_feng (feng-kylin) wrote :

> > but because the corresponding changes in unity8 have been rejected
>
> what do you mean? reading the bug you refered to I don't see rejected changes
> or unity8 needed ones
Seems like my branchs related to the bug was unlinked, and it is here: https://code.launchpad.net/~feng-kylin/unity8/OpenUrlInIndicator/+merge/258836

Revision history for this message
handsome_feng (feng-kylin) wrote :

> thanks, when you fix a bug it's a good practice to link the commit/merge
> request to it

I did so, hm... but maybe someone remove the link for some reason.

Revision history for this message
Sebastien Bacher (seb128) wrote :

oh, ok, that's maybe because it's rejected, thanks for the url

Unmerged revisions

88. By handsome_feng

Added the support of opening URL in text viewed in the message indicator

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/Ubuntu/Settings/Components/MessageHeader.qml'
2--- plugins/Ubuntu/Settings/Components/MessageHeader.qml 2014-09-15 17:18:27 +0000
3+++ plugins/Ubuntu/Settings/Components/MessageHeader.qml 2015-05-12 07:29:16 +0000
4@@ -91,6 +91,8 @@
5 wrapMode: Text.WordWrap
6 elide: Text.ElideRight
7 fontSize: "small"
8+ textFormat: Text.RichText
9+ onLinkActivated: Qt.openUrlExternally(link)
10
11 Layout.fillWidth: true
12 }

Subscribers

People subscribed via source and target branches

to all changes: