Features/Messages Notification: Difference between revisions

Ajay Garg (talk | contribs)
No edit summary
Ajay Garg (talk | contribs)
No edit summary
Line 63: Line 63:
== Internet-Links in Notifications ==
== Internet-Links in Notifications ==
*This would help in navigating ta any internet-link, by simply clicking on the link.
*This would help in navigating ta any internet-link, by simply clicking on the link.
*There are two cases possible
*There are two cases possible ::
** No instance of "Browse" is open. In this case, following sequence of steps happen ::
** No instance of "Browse" is open. In this case, following sequence of steps happen ::
*** User clicks on the link in the notification.
*** User clicks on the link in the notification.
Line 71: Line 71:
*** The window gets switched to the "Browse" window (if not already).
*** The window gets switched to the "Browse" window (if not already).
*** The URL is loaded.
*** The URL is loaded.
*Code changes required at the client-side ::
** If the link needs to be added, with a particular text for the hyerlink, the following code needs to be written :
<code><pre>  frame.add_message(body='Description',summary='First Title',link='http://www.linuxquestions.org', link_text='Click here to get answers to all your Linux questions')</pre></code>