aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/terminal.ui
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--terminal.ui25
1 files changed, 24 insertions, 1 deletions
diff --git a/terminal.ui b/terminal.ui
index c82a04d..4ba9555 100644
--- a/terminal.ui
+++ b/terminal.ui
@@ -3,6 +3,28 @@
<interface>
<requires lib="gtk+" version="3.20"/>
<requires lib="vte-2.91" version="0.54"/>
+ <object class="GtkImage" id="copy_hyperlink_image">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="icon_name">edit-copy</property>
+ </object>
+ <object class="GtkMenu" id="hyperlink_context_menu">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkImageMenuItem" id="copy_hyperlink_item">
+ <property name="label" translatable="yes">_Copy hyperlink</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="tooltip_text" translatable="yes">Copy the hyperlink's URI to the clipboard</property>
+ <property name="use_underline">True</property>
+ <property name="image">copy_hyperlink_image</property>
+ <property name="use_stock">False</property>
+ <property name="always_show_image">True</property>
+ <signal name="activate" handler="uri_copy" swapped="no"/>
+ </object>
+ </child>
+ </object>
<object class="GtkImage" id="copy_url_image">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -21,7 +43,7 @@
<property name="image">copy_url_image</property>
<property name="use_stock">False</property>
<property name="always_show_image">True</property>
- <signal name="activate" handler="url_match_copy" swapped="no"/>
+ <signal name="activate" handler="uri_copy" swapped="no"/>
</object>
</child>
</object>
@@ -58,6 +80,7 @@
<signal name="button-press-event" handler="vte_button_press" swapped="no"/>
<signal name="button-release-event" handler="vte_button_release" swapped="no"/>
<signal name="child-exited" handler="gtk_main_quit" swapped="no"/>
+ <signal name="hyperlink-hover-uri-changed" handler="vte_hyperlink_hover" swapped="no"/>
<signal name="key-press-event" handler="vte_key_press" swapped="no"/>
<signal name="scroll-event" handler="vte_scroll" swapped="no"/>
<signal name="window-title-changed" handler="window_set_title" swapped="no"/>