Ticket #3377: mythwelcome-mythtvsetup-keybinding.diff

File mythwelcome-mythtvsetup-keybinding.diff, 1000 bytes (added by Roo, 12 years ago)

Updated patch to launch mythtv-setup from keybinding, replaces previous

  • mythtv/programs/mythwelcome/main.cpp

     
    1616{
    1717    REG_KEY("Welcome", "STARTXTERM", "Open an Xterm window", "F12");
    1818    REG_KEY("Welcome", "SHOWSETTINGS", "Show Mythshutdown settings", "F11");
     19    REG_KEY("Welcome", "STARTSETUP", "Start Mythtv-Setup", "");
    1920}
    2021
    2122int main(int argc, char **argv)
  • mythtv/programs/mythwelcome/welcomedialog.cpp

     
    238238                system(cmd);
    239239            }
    240240        }
     241        else if (action == "STARTSETUP")
     242        {
     243            system(m_installDir + "/bin/mythtv-setup");
     244        }
    241245        else
    242246            handled = false;
    243247    }