|
|
|
|
@ -162,9 +162,9 @@ void on_rdp_toggled(GtkWidget *self, main_window *){
|
|
|
|
|
|
|
|
|
|
int active = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(g_list_nth_data(children,0)));
|
|
|
|
|
if (!active){
|
|
|
|
|
yon_launch(enable_rdp_command);
|
|
|
|
|
yon_launch(yon_debug_output("%s\n",enable_rdp_command));
|
|
|
|
|
} else {
|
|
|
|
|
yon_launch(disable_rdp_command);
|
|
|
|
|
yon_launch(yon_debug_output("%s\n",disable_rdp_command));
|
|
|
|
|
}
|
|
|
|
|
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(g_list_nth_data(children,0)),!active);
|
|
|
|
|
g_list_free(box);
|
|
|
|
|
|