[mythtv] [PATCH] Minor MythGame/MythGallery mods

Isaac Richards ijr at po.cwru.edu
Sat Nov 8 23:36:48 EST 2003


On Wednesday 29 October 2003 01:20 pm, m0j0.j0j0 wrote:
> > > MythGame:
> > >
> > > -Added "Favorites" feature. With this patch you can toggle the
> > > "Favorite" flag for each game using the "I" key. Within MythGame's
> > > settings you can then configure it to show either all games or only
> > > those which have been tagged.
> >
> > Mind changing this so it uses the same favorites key as mythtv does?
> >
> > Isaac
>
> No problem. It's now set to '?'.

Sorry about the delay in applying this..  Forgot all about it.

> In looking for where MythTV set the "Favorites" key, I noticed the
> following:
>
> % grep Key_ * -r|grep fav -i
> libs/libmythtv/guidegrid.cpp:        case Key_Slash:
> toggleChannelFavorite(); break; libs/libmythtv/tv_play.cpp:            case
> Key_Slash: ChangeChannel(CHANNEL_DIRECTION_FAVORITE); break;
> libs/libmythtv/tv_play.cpp:            case Key_Question:
> ToggleChannelFavorite(); break;
>
> Shouldn't toggleChannelFavorite() in guidegrid.cpp use Key_Question?

Naw, since that toggles between showing it in favorites mode or not, I 
believe.  I just made the stuff in mythgame use question or slash to toggle 
favorite status.

Isaac


More information about the mythtv-dev mailing list