- fixed "enable LED" checkbox initial state which was always off

git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spnavcfg@85 ef983eb1-d774-4af8-acfd-baaf7b16a646
pull/1/head
John Tsiombikas 2009-07-20 22:27:51 +00:00
rodzic ba20508efb
commit 3feae88fab
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -198,6 +198,7 @@ static void layout(void)
vbox2 = create_vbox(frm);
w = gtk_check_button_new_with_label("enable LED");
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(w), cfg.led);
g_signal_connect(G_OBJECT(w), "toggled", G_CALLBACK(chk_handler), (void*)10);
add_child(vbox2, w);