[vinagre] Uncheck 'always enabled' when disabling reverse connections.
- From: Jonh Wendell <jwendell src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vinagre] Uncheck 'always enabled' when disabling reverse connections.
- Date: Mon, 26 Oct 2009 12:56:16 +0000 (UTC)
commit b9f5f90a985f1ae079ac49491a27ce46104d214a
Author: Jonh Wendell <jwendell gnome org>
Date: Mon Oct 26 09:55:37 2009 -0300
Uncheck 'always enabled' when disabling reverse connections.
plugins/vnc/vinagre-vnc-listener-dialog.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/plugins/vnc/vinagre-vnc-listener-dialog.c b/plugins/vnc/vinagre-vnc-listener-dialog.c
index 15f4eb5..756727e 100644
--- a/plugins/vnc/vinagre-vnc-listener-dialog.c
+++ b/plugins/vnc/vinagre-vnc-listener-dialog.c
@@ -172,7 +172,11 @@ enable_reverse_toggled_cb (GtkToggleButton *button, VncListenDialog *dialog)
if (gtk_toggle_button_get_active (button))
vinagre_vnc_listener_start (listener);
else
- vinagre_vnc_listener_stop (listener);
+ {
+ vinagre_vnc_listener_stop (listener);
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dialog->always_enabled_check),
+ FALSE);
+ }
update_ui_sensitivity (dialog);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]