[Xfce4-commits] [apps/gigolo] 01/02: ensure port is always reset to the method port (bug #15455)
noreply at xfce.org
noreply at xfce.org
Sat Mar 14 09:23:51 CET 2020
This is an automated email from the git hooks/post-receive script.
l a n d r y p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/gigolo.
commit f951a478c99784d12e1d22c5809b87989bebde10
Author: Landry Breuil <landry at xfce.org>
Date: Sat Mar 14 09:13:30 2020 +0100
ensure port is always reset to the method port (bug #15455)
---
src/bookmarkeditdialog.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/bookmarkeditdialog.c b/src/bookmarkeditdialog.c
index d794754..73a6c78 100644
--- a/src/bookmarkeditdialog.c
+++ b/src/bookmarkeditdialog.c
@@ -486,6 +486,7 @@ static void setup_for_type(GigoloBookmarkEditDialog *dialog)
&iter, COLUMN_INDEX, &idx, -1);
g_return_if_fail(idx < methods_len);
meth = &(methods[idx]);
+ gtk_spin_button_set_value (GTK_SPIN_BUTTON (priv->port_spin), meth->port);
gtk_widget_hide (priv->uri_label);
gtk_widget_hide (priv->uri_entry);
@@ -563,8 +564,6 @@ static void setup_for_type(GigoloBookmarkEditDialog *dialog)
gtk_label_set_mnemonic_widget(GTK_LABEL(priv->port_label), priv->port_spin);
gtk_widget_show(priv->port_spin);
-
- gtk_spin_button_set_value (GTK_SPIN_BUTTON (priv->port_spin), meth->port);
}
if (meth->flags & SHOW_FOLDER && priv->dialog_type != GIGOLO_BE_MODE_CONNECT)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list