From 8da7c365a832cad9b05aa6da9f7255c03c39650b Mon Sep 17 00:00:00 2001 From: Rmys Date: Fri, 1 Oct 2021 22:01:41 +0300 Subject: [PATCH] xfce4-terminal rebuild --- .../xfce4-terminal/files/xfce-terminal.patch | 25 +++++++++++++++++++ desktop/xfce/base/xfce4-terminal/pspec.xml | 3 +++ 2 files changed, 28 insertions(+) create mode 100644 desktop/xfce/base/xfce4-terminal/files/xfce-terminal.patch diff --git a/desktop/xfce/base/xfce4-terminal/files/xfce-terminal.patch b/desktop/xfce/base/xfce4-terminal/files/xfce-terminal.patch new file mode 100644 index 0000000000..b3b34f3b62 --- /dev/null +++ b/desktop/xfce/base/xfce4-terminal/files/xfce-terminal.patch @@ -0,0 +1,25 @@ +diff -Nuar a/terminal/terminal-window.c b/terminal/terminal-window.c +--- a/terminal/terminal-window.c 2020-12-23 00:50:31.000000000 +0300 ++++ b/terminal/terminal-window.c 2021-10-01 21:49:37.528945853 +0300 +@@ -390,7 +390,7 @@ + { "show-borders", NULL, N_ ("Show Window _Borders"), NULL, N_ ("Show/hide the window decorations"), G_CALLBACK (terminal_window_action_show_borders), TRUE, }, + { "fullscreen", "view-fullscreen", N_ ("_Fullscreen"), "F11", N_ ("Toggle fullscreen mode"), G_CALLBACK (terminal_window_action_fullscreen), FALSE, }, + { "read-only", NULL, N_ ("_Read-Only"), NULL, N_ ("Toggle read-only mode"), G_CALLBACK (terminal_window_action_readonly), FALSE, }, +- { "scroll-on-output", NULL, N_ ("Scroll on _Output"), NULL, N_ ("Toggle scroll on output"), G_CALLBACK (terminal_window_action_scroll_on_output), FALSE, }, ++ { "scroll-on-output", NULL, N_ ("Scroll on _Output"), NULL, N_ ("Toggle scroll on output"), G_CALLBACK (terminal_window_action_scroll_on_output), TRUE, }, + }; + + +@@ -1118,9 +1118,10 @@ + gtk_action_set_sensitive (action, input_enabled); + + /* update scroll on output mode */ ++ input_enabled = terminal_screen_get_input_enabled (window->priv->active); + action = terminal_window_get_action (window, "scroll-on-output"); +- gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), +- terminal_screen_get_scroll_on_output (window->priv->active)); ++ gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), !input_enabled); ++ //terminal_screen_get_scroll_on_output (window->priv->active)); + + /* update the "Go" menu */ + action = g_object_get_qdata (G_OBJECT (window->priv->active), tabs_menu_action_quark); diff --git a/desktop/xfce/base/xfce4-terminal/pspec.xml b/desktop/xfce/base/xfce4-terminal/pspec.xml index 61399f227e..a35fd80e2e 100644 --- a/desktop/xfce/base/xfce4-terminal/pspec.xml +++ b/desktop/xfce/base/xfce4-terminal/pspec.xml @@ -25,6 +25,9 @@ libpcre2-devel libxfce4ui-devel + + xfce-terminal.patch +