GNOME Bugzilla – Bug 691962
sharing: add helper application to enable or disable remote login
Last modified: 2013-01-18 18:26:50 UTC
Add a helper application and PolicyKit action to enable, disable the remote login (ssh) service.
Created attachment 233678 [details] [review] sharing: add helper application to enable or disable remote login
Review of attachment 233678 [details] [review]: ::: panels/sharing/cc-remote-login-helper.c @@ +119,3 @@ + NULL, + &error); + if (error) if (temp_variant) @@ +126,3 @@ + } + g_variant_unref (temp_variant); + Remove extraneous linefeeds. @@ +143,3 @@ + &error); + + if (error) if (temp_variant == NULL) @@ +155,3 @@ + +} + single line-feed ::: panels/sharing/cc-remote-login.c @@ +155,3 @@ + cc_remote_login_get_enabled (GTK_SWITCH (gtkswitch)); + } + g_spawn_close_pid (pid); And make switch sensitive here. @@ +176,3 @@ + command[2] = "enable"; + else + command[2] = "disable"; make the switch insensitive here.
Attachment 233678 [details] pushed as 0999c4a - sharing: add helper application to enable or disable remote login