[mythtv] [PATCH] Support custom user menu items

Joseph A. Caputo jcaputo1 at comcast.net
Thu Jun 2 03:53:21 UTC 2005


Okay, I know I talked about doing this about 8 months ago, but I finally 
had
some time alone with my computer :-)

This patch allows you to keep a file full of buttons (userMenuItems.xml) in
$(PREFIX)/share/mythtv, or ${HOME}/.mythtv, or any other place menu XML 
files
are found.  The format of the file is the same as regular menu files, with
the addition of a "parentMenu" attribute to the <button> tag.  This 
attribute
is a comma-separated list of menu names (the "name" attribute of the 
menu, in
the XML files) that the button is to appear in.  A button may appear in as
many menus as you like.

I know I proposed a much more full-featured version of this capability, 
but I
just haven't had the time.  Hopefully this will be the beginning of some 
more
development on my part...

-JAC

-------------- next part --------------
A non-text attachment was scrubbed...
Name: usermenus.patch
Type: text/x-patch
Size: 1780 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050601/c968029d/usermenus.bin


More information about the mythtv-dev mailing list