diff options
Diffstat (limited to 'net-misc/remmina/files/remmina-1.4.32-REM-2981.patch')
-rw-r--r-- | net-misc/remmina/files/remmina-1.4.32-REM-2981.patch | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/net-misc/remmina/files/remmina-1.4.32-REM-2981.patch b/net-misc/remmina/files/remmina-1.4.32-REM-2981.patch new file mode 100644 index 000000000000..5725349b2cae --- /dev/null +++ b/net-misc/remmina/files/remmina-1.4.32-REM-2981.patch @@ -0,0 +1,54 @@ +From dbd6f94974c4d7df313963ffefecb1ff8ca9ecb6 Mon Sep 17 00:00:00 2001 +From: myheroyuki <myheroyuki@outlook.com> +Date: Sun, 24 Sep 2023 23:15:58 +0900 +Subject: [PATCH] [REM-2981] Move ssh-unrelated code outside of HAVE_LIBSSH + ifdef + +--- + src/remmina_file_editor.c | 23 ++++++++++++----------- + 1 file changed, 12 insertions(+), 11 deletions(-) + +diff --git a/src/remmina_file_editor.c b/src/remmina_file_editor.c +index feee4a031..1c1fa9858 100644 +--- a/src/remmina_file_editor.c ++++ b/src/remmina_file_editor.c +@@ -361,17 +361,6 @@ static GtkWidget *remmina_file_editor_create_notebook_tab(RemminaFileEditor *gfe + return grid; + } + +-#ifdef HAVE_LIBSSH +- +-static void remmina_file_editor_ssh_tunnel_server_custom_radio_on_toggled(GtkToggleButton *togglebutton, RemminaFileEditor *gfe) +-{ +- TRACE_CALL(__func__); +- gtk_widget_set_sensitive(GTK_WIDGET(gfe->priv->ssh_tunnel_server_entry), +- gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(gfe->priv->ssh_tunnel_enabled_check)) && +- (gfe->priv->ssh_tunnel_server_custom_radio == NULL || +- gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(gfe->priv->ssh_tunnel_server_custom_radio)))); +-} +- + + static void remmina_file_editor_assistance_enabled_check_on_toggled(GtkToggleButton *togglebutton, + RemminaFileEditor *gfe) +@@ -392,6 +381,18 @@ static void remmina_file_editor_assistance_enabled_check_on_toggled(GtkToggleBut + } + } + ++#ifdef HAVE_LIBSSH ++ ++static void remmina_file_editor_ssh_tunnel_server_custom_radio_on_toggled(GtkToggleButton *togglebutton, RemminaFileEditor *gfe) ++{ ++ TRACE_CALL(__func__); ++ gtk_widget_set_sensitive(GTK_WIDGET(gfe->priv->ssh_tunnel_server_entry), ++ gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(gfe->priv->ssh_tunnel_enabled_check)) && ++ (gfe->priv->ssh_tunnel_server_custom_radio == NULL || ++ gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(gfe->priv->ssh_tunnel_server_custom_radio)))); ++} ++ ++ + static void remmina_file_editor_ssh_tunnel_enabled_check_on_toggled(GtkToggleButton *togglebutton, + RemminaFileEditor *gfe, RemminaProtocolSSHSetting ssh_setting) + { +-- +2.42.0 + |