X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fremote%2Fmainpanel.cpp;h=705c402bdf809c293355708e9a66b26d4fa9dfca;hb=df88ff837468c32986c73740b4fc8279bc152e47;hp=62c9208848fd09a661faea327acf41eeb33a8f72;hpb=d084e6f369a829f41086d1f7f9befa52d0392d58;p=r2c2.git diff --git a/source/remote/mainpanel.cpp b/source/remote/mainpanel.cpp index 62c9208..705c402 100644 --- a/source/remote/mainpanel.cpp +++ b/source/remote/mainpanel.cpp @@ -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);