]> git.tdb.fi Git - r2c2.git/blobdiff - source/remote/mainpanel.cpp
Some other minor UI tweaks
[r2c2.git] / source / remote / mainpanel.cpp
index 62c9208848fd09a661faea327acf41eeb33a8f72..705c402bdf809c293355708e9a66b26d4fa9dfca 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of R²C²
-Copyright © 2011  Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #include "mainpanel.h"
 
 using namespace std;
@@ -25,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);