xfce4-terminal rebuild.
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
From 020a2c8267f88568dcba4848ed826c4d9c34f063 Mon Sep 17 00:00:00 2001
|
||||
From: Sergios - Anestis Kefalidis <sergioskefalidis@gmail.com>
|
||||
Date: Mon, 27 Dec 2021 20:08:18 +0200
|
||||
Subject: Fix regression: Menubar changes size when the window is maximized
|
||||
(Issue #156)
|
||||
|
||||
---
|
||||
terminal/terminal-window.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
|
||||
index b4532a92..45951ee0 100644
|
||||
--- a/terminal/terminal-window.c
|
||||
+++ b/terminal/terminal-window.c
|
||||
@@ -535,7 +535,7 @@ terminal_window_init (TerminalWindow *window)
|
||||
g_signal_connect (G_OBJECT (window->priv->notebook), "scroll-event",
|
||||
G_CALLBACK (terminal_window_notebook_scroll_event), window);
|
||||
|
||||
- gtk_box_pack_start (GTK_BOX (window->priv->vbox), window->menubar, TRUE, TRUE, 0);
|
||||
+ gtk_box_pack_start (GTK_BOX (window->priv->vbox), window->menubar, FALSE, FALSE, 0);
|
||||
gtk_box_pack_start (GTK_BOX (window->priv->vbox), window->toolbar, TRUE, TRUE, 0);
|
||||
gtk_box_pack_start (GTK_BOX (window->priv->vbox), window->priv->notebook, TRUE, TRUE, 0);
|
||||
gtk_widget_show_all (window->priv->vbox);
|
||||
--
|
||||
cgit v1.2.3
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
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);
|
||||
@@ -26,7 +26,7 @@
|
||||
<Dependency versionFrom="4.16.0">libxfce4ui-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- <Patch level="1">xfce-terminal.patch</Patch> -->
|
||||
<Patch level="1">Menubar_changes_size_when_the_window_is_maximized.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2021-12-11</Date>
|
||||
<Date>2021-12-29</Date>
|
||||
<Version>0.9.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
|
||||
Reference in New Issue
Block a user