• Michael Gratton's avatar
    Renable and update code for clicking on links in messages. · 3bf17388
    Michael Gratton authored
    Requires GTK+ 3.12.
    
    * src/client/conversation-viewer/conversation-message.vala
      (ConversationMessage::link_selected): Added to pass through successful
      link clicks to the message_viewer, hook it up to the web_view.
      (ConversationMessage::load_message_body): Hook up WebKit event handler
      for when links are clicked, so phishing links can be intercepted.
      (ConversationMessage::on_link_clicked_self): Use a popover to display
      phishing warning, recursively check link's offset parent's when
      calculating box position, escape link text/href before using it as
      markup.
    
    * src/client/conversation-viewer/conversation-viewer.vala
      (ConversationViewer::add_message): Ensure unhandled mouse clicks o the
      web_view are not used to activate the message's ListBoxRow.
    
    * ui/conversation-message.ui: Add popover (GTK+ 3.12) for phishing links.
    3bf17388
Name
Last commit
Last update
bindings Loading commit data...
cmake Loading commit data...
debian Loading commit data...
desktop Loading commit data...
help Loading commit data...
icons Loading commit data...
po Loading commit data...
sql Loading commit data...
src Loading commit data...
theming Loading commit data...
ui Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
COPYING.icons Loading commit data...
COPYING.snowball Loading commit data...
INSTALL Loading commit data...
Makefile.in Loading commit data...
NEWS Loading commit data...
README Loading commit data...
THANKS Loading commit data...
cmake_uninstall.cmake.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
geary.doap Loading commit data...