Opened 16 years ago
Closed 15 years ago
#4571 closed patch (fixed)
Add popup menu to the main menu to allow shutdown
Reported by: | Owned by: | stuartm | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
The attached patch enables the "menu" key to show a popup menu to allow a system shutdown or reboot.
The popup menu will only be shown when the exit key for mythfrontend has a modifer attached to it. In other words if the exit key is set to ESC or "No exit key" then the popup menu will NOT appear.
The reason behind this patch is fairly striaghtforward.
I don't want 'Escape' to leave the frontend, but would still like the option to shutdown the system from a remote.
Attachments (6)
Change History (16)
Changed 16 years ago by
Attachment: | myththemedmenu.h.patch added |
---|
Changed 16 years ago by
Attachment: | myththemedmenu.cpp.patch added |
---|
Changed 16 years ago by
Attachment: | myththemedmenu.cpp.2.patch added |
---|
Changed 16 years ago by
Attachment: | myththemedmenu.h.2.patch added |
---|
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Might be worthwhile to remove the "About" header from the about popup. This would give more space to display extra info.
comment:3 Changed 16 years ago by
James, nothing wrong with adding a generic menu action in any themed menu, but I'm curious why you didn't just add a menu button which did 'EXEC shutdown -h now' or similar?
comment:4 Changed 16 years ago by
Status: | new → infoneeded_new |
---|
Hi James,
Have you tried using mythwelcome instead of mythfrontend?
The functionality you desire is already implemented there - Exiting from the frontend returns to mythwelcome, which allows shutdown, etc.
Cheers,
Allan.
comment:6 Changed 15 years ago by
Resolution: | → wontfix |
---|---|
Status: | infoneeded_new → closed |
No reply to infoneeded.
comment:7 Changed 15 years ago by
Resolution: | wontfix |
---|---|
Status: | closed → new |
comment:8 Changed 15 years ago by
Owner: | changed from Isaac Richards to stuartm |
---|---|
Status: | new → accepted |
comment:9 Changed 15 years ago by
Status: | accepted → infoneeded |
---|
Patch no longer applies cleanly to trunk.
Changed 15 years ago by
Attachment: | popup_menu_rev20834.patch added |
---|
updated patch for main_menu popup. This patch replaces all others
comment:10 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | infoneeded → closed |
(In [20852]) Adds a popup dialog accessible from the main menu using MENU which allows the system to be shutdown or rebooted. This duplicates functionality offered by mythwelcome but doesn't require the installation and configuration of that separate application. Also features a dialog giving version information. Patch by James Meyer with some small changes. Closes #4571
Updated patches to include an "About" screen. This popup will show the revision number of myth and the branch. In addition it will try to read /etc/os_myth_release for extra information to display. This is inteneded for distro's to show their release information.