diff options
author | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:17:40 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:19:39 (GMT) |
commit | adbcf19958300e9b6598990184c8815b945ba0ee (patch) | |
tree | f4283c850ac0ac202c17e78a637ee7ca8147621b /abs/mv-core/myth/stable/mythtv-release-fixes/pop_be_restart.cpp.patch | |
parent | 61a68250df10d29b624650948484898334ff22d0 (diff) | |
download | linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2 |
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/mv-core/myth/stable/mythtv-release-fixes/pop_be_restart.cpp.patch')
-rw-r--r-- | abs/mv-core/myth/stable/mythtv-release-fixes/pop_be_restart.cpp.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/abs/mv-core/myth/stable/mythtv-release-fixes/pop_be_restart.cpp.patch b/abs/mv-core/myth/stable/mythtv-release-fixes/pop_be_restart.cpp.patch deleted file mode 100644 index a7a5326..0000000 --- a/abs/mv-core/myth/stable/mythtv-release-fixes/pop_be_restart.cpp.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- libs/libmythui/myththemedmenu.cpp.orig 2008-03-17 15:54:00.000000000 -0500 -+++ libs/libmythui/myththemedmenu.cpp 2008-03-17 15:54:09.000000000 -0500 -@@ -2615,12 +2615,14 @@ - m_menuPopup->SetReturnEvent(this,"popmenu_exit"); - m_menuPopup->AddButton("Shutdown"); - m_menuPopup->AddButton("Reboot"); -+ m_menuPopup->AddButton("MythBackend restart"); - m_menuPopup->AddButton("About"); - m_menuPopup->AddButton("Cancel"); - } - else - { - m_menuPopup->SetReturnEvent(this,"popmenu_noexit"); -+ m_menuPopup->AddButton("MythBackend restart"); - m_menuPopup->AddButton("About"); - m_menuPopup->AddButton("Cancel"); - } -@@ -2655,6 +2657,11 @@ - } - } - -+void MythThemedMenu::Restartmythbackend() -+{ -+ system("/usr/MythVantage/bin/mythbeselect -restart"); -+} -+ - void MythThemedMenu::customEvent(QCustomEvent *event) - { - if (event->type() == kMythDialogBoxCompletionEventType) -@@ -2684,6 +2691,10 @@ - - if (buttonnum == 2) - { -+ Restartmythbackend(); -+ } -+ if (buttonnum == 3) -+ { - aboutScreen(); - } - } -@@ -2691,6 +2702,10 @@ - if (resultid == "popmenu_noexit") - { - if (buttonnum == 0) -+ { -+ Restartmythbackend(); -+ } -+ if (buttonnum == 1) - aboutScreen(); - } - |