[mythtv] [PATCH] MythWeather: pause is not working when switching
dev4sg at yahoo.com
Tue Sep 30 18:11:03 EDT 2003
i've ran into this problem while looking at
MythWeather (0.11) module. Press 'P' to pause
screen, then use left or right arrows to switch
screens. If you wait for ~20 seconds, the screens
will change, even though the message on the
screen says 'PAUSED'. What's even funnier, is
that you can press 'P', switch screens (via
left/right arrow), press 'P' again and you'll get
multiple 'PAUSED' messages on the screen.
so, to make long story short, when 'left' or 'right'
arrow keys are pressed, the module will change the
timeout value on the timer. This has side-effect of
restarting the timer. The fix (if anyone has better
suggestions, go ahead) is to stop timer after change
of timeout (if it was stopped already).
also, is there a specific document that outlines
the coding conventions (in particular naming of the
variables and 'indent' line for formatting) for Myth.
patch file attached,
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 715 bytes
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20030930/92efccbf/weather.cpp.obj
More information about the mythtv-dev