[mythtv-commits] mythtv commit: r21289 - in trunk/mythtv by stuartm

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sat Aug 15 17:13:41 UTC 2009


      Author: stuartm
        Date: 2009-08-15 17:13:41 +0000 (Sat, 15 Aug 2009)
New Revision: 21289
   Changeset: http://cvs.mythtv.org/trac/changeset/21289

Modified:

   trunk/mythtv/libs/libmythui/myththemedmenu.cpp
   trunk/mythtv/libs/libmythui/myththemedmenu.h
   trunk/mythtv/themes/DVR/util_menu.xml
   trunk/mythtv/themes/classic/mainmenu.xml
   trunk/mythtv/themes/defaultmenu/util_menu.xml

Log:

Rewrite the password handling for entering the setup menu so that we prompt with a non-blocking mythui dialog. In doing this it made sense to remove the hardcoded check on main_settings.xml since that may not exist in all menu themes and instead I've replaced it with a theme defined <password>{pinsettingname}</password>.

As a side benefit this now allows you to define a password for any menu item you want and using any number of different passwords. The location of each password in the settings table is defined by the value of <password> there is no UI for defining the passwords, so it's a case of manually inserting/updating them in the database.






More information about the mythtv-commits mailing list