X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcec-config-gui%2Factions%2FSendActivateSource.cs;h=1470c1988975698b275966eb8d1e95a9d0352b84;hb=75060af4927b7e412634756bb1ec952a25fab772;hp=e60c0a57dc8a0b4ac73f703a940aee07202ea466;hpb=96fa7764c1af5034afaba2646831df0a74419249;p=deb_libcec.git diff --git a/src/cec-config-gui/actions/SendActivateSource.cs b/src/cec-config-gui/actions/SendActivateSource.cs index e60c0a5..1470c19 100644 --- a/src/cec-config-gui/actions/SendActivateSource.cs +++ b/src/cec-config-gui/actions/SendActivateSource.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using CecSharp; +using CecSharp; namespace CecConfigGui.actions { @@ -19,7 +16,7 @@ namespace CecConfigGui.actions SendEvent(UpdateEventType.ProgressBar, 50); bool bResult = Lib.SetStreamPath(Address); - SendEvent(UpdateEventType.StatusText, bResult ? "Command sent successfully." : "The device could not be powered on."); + SendEvent(UpdateEventType.StatusText, bResult ? "Command sent successfully." : "The 'active source' command was not acked."); SendEvent(UpdateEventType.ProgressBar, 100); }