Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #7662: Patch to display help in mythfrontend if there is no configured X server

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


mythtv at cvs

Nov 25, 2009, 11:22 AM

Post #1 of 6 (595 views)
Permalink
Ticket #7662: Patch to display help in mythfrontend if there is no configured X server

#7662: Patch to display help in mythfrontend if there is no configured X server
----------------------------------+-----------------------------------------
Reporter: doug@… | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Mlocked: 0
----------------------------------+-----------------------------------------
This is a simple patch so that mythfrontend -h will display the help text
even if there is no X Server to attach to.

Thanks! [[BR]]
Doug

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7662>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 25, 2009, 11:39 AM

Post #2 of 6 (557 views)
Permalink
Re: Ticket #7662: Patch to display help in mythfrontend if there is no configured X server [In reply to]

#7662: Patch to display help in mythfrontend if there is no configured X server
----------------------------------+-----------------------------------------
Reporter: doug@… | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Mlocked: 0
----------------------------------+-----------------------------------------

Comment(by doug@…):

hmmm - this raises a new issue in that it shows the generic help and not
the mythfrontend specific help. I think this patch needs some additional
work.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7662#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 25, 2009, 12:19 PM

Post #3 of 6 (557 views)
Permalink
Re: Ticket #7662: Patch to display help in mythfrontend if there is no configured X server [In reply to]

#7662: Patch to display help in mythfrontend if there is no configured X server
----------------------------------+-----------------------------------------
Reporter: doug@… | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Mlocked: 0
----------------------------------+-----------------------------------------

Comment(by doug@…):

Patch #2 is slightly more complicated. It allows a calling program (e.g.
mythfrontend) to send a callback to the command line parser. This
callback then gets passed what the command liner parser would have printed
as a QString. This enabled mythfrontend to print its specific parameters
as well as a formatted string of the generic parameters in a way that
looks normal.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7662#comment:2>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 25, 2009, 12:46 PM

Post #4 of 6 (552 views)
Permalink
Re: Ticket #7662: Patch to display help in mythfrontend if there is no configured X server [In reply to]

#7662: Patch to display help in mythfrontend if there is no configured X server
----------------------------------+-----------------------------------------
Reporter: doug@… | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Mlocked: 0
----------------------------------+-----------------------------------------

Comment(by doug@…):

help3.patch has a slight change to the callback to take a
MythCommandLineParser instead of a QString. This allows the ShowUsage
functions in mythfrontend and mythwelcome to stay exactly the same. The
MythCommandLineParser now passes itself in the callback so that the
calling function can do whatever it wants with the parser. This also adds
mythwelcome to the patch which was the only other executable I found that
has this issue.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7662#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 25, 2009, 2:14 PM

Post #5 of 6 (543 views)
Permalink
Re: Ticket #7662: Patch to display help in mythfrontend if there is no configured X server [In reply to]

#7662: Patch to display help in mythfrontend if there is no configured X server
----------------------------------+-----------------------------------------
Reporter: doug@… | Owner: danielk
Type: patch | Status: accepted
Priority: minor | Milestone: 0.23
Component: MythTV - General | Version: head
Severity: medium | Mlocked: 0
----------------------------------+-----------------------------------------
Changes (by danielk):

* owner: ijr => danielk
* status: new => accepted
* milestone: unknown => 0.23


--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7662#comment:4>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 28, 2009, 9:51 AM

Post #6 of 6 (483 views)
Permalink
Re: Ticket #7662: Patch to display help in mythfrontend if there is no configured X server [In reply to]

#7662: Patch to display help in mythfrontend if there is no configured X server
----------------------------------+-----------------------------------------
Reporter: doug@… | Owner: danielk
Type: patch | Status: closed
Priority: minor | Milestone: 0.23
Component: MythTV - General | Version: head
Severity: medium | Resolution: fixed
Mlocked: 0 |
----------------------------------+-----------------------------------------
Changes (by danielk):

* status: accepted => closed
* resolution: => fixed


Comment:

(In [22912]) Fixes #7662. Print mythfrontend help even if display is
absent.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7662#comment:5>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.