Added debug output for rdp commands

pull/377/head
parent 92216abcdc
commit f564a91a27

@ -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);

Loading…
Cancel
Save