updated copyright messages for 2013
[deb_libcec.git] / src / LibCecTray / controller / applications / ApplicationControllerUI.cs
index de2b97ec954d15d59afd49b5d0968c101a54e213..d84133749e4ca0793afb0fbbe21f69682396c5e8 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the libCEC(R) library.
  *
- * libCEC(R) is Copyright (C) 2011-2012 Pulse-Eight Limited.  All rights reserved.
+ * libCEC(R) is Copyright (C) 2011-2013 Pulse-Eight Limited.  All rights reserved.
  * libCEC(R) is an original work, containing original code.
  *
  * libCEC(R) is a trademark of Pulse-Eight Limited.
@@ -53,6 +53,8 @@ namespace LibCECTray.controller.applications
       _controller.ControlApplication.ReplaceControls(this, Controls, cbControlApplication);
       _controller.SuppressKeypressWhenSelected.ReplaceControls(this, Controls, cbSuppressKeypress);
       _controller.StartFullScreen.ReplaceControls(this, Controls, cbStartFullScreen);
+
+      bConfigure.Enabled = _controller.CanConfigureProcess;
     }
 
     public override sealed string Text
@@ -76,7 +78,7 @@ namespace LibCECTray.controller.applications
 
     public override void SetStartButtonEnabled(bool val)
     {
-      SetControlEnabled(bStartApplication, !_controller.IsRunning() && !_controller.SuppressApplicationStart && val);
+      SetControlEnabled(bStartApplication, val);
     }
 
     private readonly ApplicationController _controller;