[geary/wip/728002-webkit2: 87/96] Update composer hover url and link overlay correctly on mouseover/out.
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/728002-webkit2: 87/96] Update composer hover url and link overlay correctly on mouseover/out.
- Date: Sat, 14 Jan 2017 12:19:08 +0000 (UTC)
commit eef7dee243d2e6d0292d6e67a74464e2cf98a56c
Author: Michael James Gratton <mike vee net>
Date: Fri Jan 6 09:47:43 2017 +1100
Update composer hover url and link overlay correctly on mouseover/out.
src/client/composer/composer-widget.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/client/composer/composer-widget.vala b/src/client/composer/composer-widget.vala
index 45e488b..45684b9 100644
--- a/src/client/composer/composer-widget.vala
+++ b/src/client/composer/composer-widget.vala
@@ -1842,6 +1842,10 @@ public class ComposerWidget : Gtk.EventBox {
if (hit_test.context_is_link()) {
copy_link_enabled = true;
this.hover_url = hit_test.get_link_uri();
+ this.message_overlay_label.label = this.hover_url;
+ } else {
+ this.hover_url = null;
+ this.message_overlay_label.label = "";
}
get_action(ACTION_COPY_LINK).set_enabled(copy_link_enabled);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]