ShowWidget: Add tooltip to the website button.

This commit is contained in:
Jordan Petridis 2018-01-01 19:46:27 +02:00
parent e42353e03f
commit 15b3eb115c
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -82,6 +82,7 @@ impl ShowWidget {
}
let link = pd.link().to_owned();
WidgetExt::set_tooltip_text(&self.link, Some(link.as_str()));
self.link.connect_clicked(move |_| {
info!("Opening link: {}", &link);
let _ = open::that(&link);