aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/terminal.ui
diff options
context:
space:
mode:
authorWolfgang Müller2023-08-27 17:10:39 +0200
committerWolfgang Müller2023-08-27 17:10:39 +0200
commit2fdbf96d6ff9828c946197e17d803f45510c2aa4 (patch)
treecea25d8fc647f6da16db5d468970dbb9cb8f2eaa /terminal.ui
parent39b2c7e8c41945ea95ffd51791cc18490bc73875 (diff)
downloadweltschmerz-2fdbf96d6ff9828c946197e17d803f45510c2aa4.tar.gz
Act as a drop destination for drag & drop
For now we support text and URIs. If file:// URIs are dropped, the file:// prefix will be removed from each, and they will be unescaped and quoted for use in the shell.
Diffstat (limited to '')
-rw-r--r--terminal.ui1
1 files changed, 1 insertions, 0 deletions
diff --git a/terminal.ui b/terminal.ui
index 6d5d206..af94317 100644
--- a/terminal.ui
+++ b/terminal.ui
@@ -139,6 +139,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="drag-data-received" handler="vte_drag_data_received" 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"/>