]> git.tdb.fi Git - r2c2.git/commitdiff
Connect halt checkbox in the remote to the right function
authorMikko Rasa <tdb@tdb.fi>
Sun, 24 Feb 2013 10:32:28 +0000 (12:32 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 24 Feb 2013 10:32:28 +0000 (12:32 +0200)
source/remote/mainpanel.cpp

index 93724a232d2f2013b5f96fbb74da97c71d6ff6ae..705c402bdf809c293355708e9a66b26d4fa9dfca 100644 (file)
@@ -18,7 +18,7 @@ MainPanel::MainPanel(Remote &r, R2C2::Client &c):
        chk_power->signal_toggled().connect(sigc::mem_fun(this, &MainPanel::ui_power_changed));
 
        hbox->pack_start(*manage(chk_halt = new Gtk::CheckButton("Halt")), false, true);
-       chk_halt->signal_toggled().connect(sigc::mem_fun(this, &MainPanel::ui_power_changed));
+       chk_halt->signal_toggled().connect(sigc::mem_fun(this, &MainPanel::ui_halt_changed));
 
        pack_start(*manage(lbl_status = new Gtk::Label), false, true);