[mythtv] Window caption patch

Michael Anthon michael at anthon.net
Tue Oct 28 08:38:07 EST 2003


On Tuesday 28 October 2003 16:33, Michael Anthon wrote:
> have also noticed that this patch doesn't work correctly with the
> lastest CVS... the caption doesn't get set back to "mythfrontend" when
> exiting live or recorded tv... will investigate tonight.

This was a stupid problem on my part.  It seems that initially calling the 
method to retrieve the caption returns null if the caption has not been 
explicitly set in the code (as opposed the the default caption set by the 
window manager).  My earlier attempts included such a specific setting but I 
removed it at some stage.  Anyway, I have modified the SetCaption method to 
force the caption to "mythfrontend" if it is passed a null value.  updated 
patch attached.

Cheers,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: captions.patch
Type: text/x-diff
Size: 3231 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20031028/2cbe54f4/captions-0001.bin


More information about the mythtv-dev mailing list