debian/patches: Add 2001_fix-find-next-previous.patch. Fix find next/previous shortcuts which are broken in Ubuntu due to VTE patch revert-pcre2.patch.

This commit is contained in:
Martin Wimpress
2018-04-17 12:54:33 +01:00
parent dbe40b72d4
commit ebd3bf3bf0
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,15 @@
Author: Vlad Orlov <monsta@inbox.ru>
Description: Fix Find Next/Previous shortcuts and menu items, which are broken due to VTE patch "revert-pcre2.patch".
See https://launchpad.net/bugs/1636666
--- mate-terminal-1.20.0.orig/src/terminal-window.c
+++ mate-terminal-1.20.0/src/terminal-window.c
@@ -1202,7 +1202,7 @@ terminal_window_update_search_sensitivit
if (screen != priv->active_screen)
return;
- can_search = vte_terminal_search_get_regex (VTE_TERMINAL (screen)) != NULL;
+ can_search = vte_terminal_search_get_gregex (VTE_TERMINAL (screen)) != NULL;
action = gtk_action_group_get_action (priv->action_group, "SearchFindNext");
gtk_action_set_sensitive (action, can_search);

1
debian/patches/ubuntu.series vendored Normal file
View File

@ -0,0 +1 @@
2001_fix-find-next-previous.patch