[mythtv-commits] mythtv commit: r24839 - in trunk/mythtv by mdean
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Mon May 24 23:12:16 UTC 2010
Author: mdean
Date: 2010-05-24 23:12:16 +0000 (Mon, 24 May 2010)
New Revision: 24839
Changeset: http://svn.mythtv.org/trac/changeset/24839
Modified:
trunk/mythtv/libs/libmythdb/mythversion.h
trunk/mythtv/libs/libmythtv/dbcheck.cpp
trunk/mythtv/libs/libmythtv/tv_play.cpp
trunk/mythtv/libs/libmythtv/tv_play.h
trunk/mythtv/libs/libmythui/mythmainwindow.cpp
trunk/mythtv/libs/libmythui/mythmainwindow.h
trunk/mythtv/programs/mythfrontend/main.cpp
trunk/mythtv/programs/mythtv-setup/main.cpp
Log:
Fix key binding initialization after initial database creation.
When the database does not exist, key bindings are not written to the database. Therefore, the Global, Browser, and Main Menu key bindings were not properly initialized when mythtv-setup or mythfrontend was used to create the initial database. Upon restarting either program after creating the initial database, the bindings were properly initialized.
This change moves key initialization in MythMainWindow to a separate function and adds a function to reset key bindings, and calls that function from mythfrontend or mythtv-setup after the database upgrade check. These changes will also be used with an upcoming change to allow users to reset keybindings to default values in MythControls/Edit Keys.
The change also allows simplification of the 1256 DB update, since the key-reloading hack is no longer required after this fix.
There is a binary version change, so you'll likely need a make clean and plugins will need to be recompiled. (Word has it that another binary version change is coming very shortly, so you might want to wait a few minutes before updating and recompiling.)
More information about the mythtv-commits
mailing list