[mythtv-commits] Ticket #3524: extendedslidertext is difficult to use as implemented

MythTV mythtv at cvs.mythtv.org
Wed May 30 02:06:19 UTC 2007


#3524: extendedslidertext is difficult to use as implemented
----------------------------------------------------------+-----------------
 Reporter:  David Asher <david.asher at caviumnetworks.com>  |       Owner:  ijr    
     Type:  enhancement                                   |      Status:  new    
 Priority:  minor                                         |   Milestone:  unknown
Component:  mythtv                                        |     Version:  unknown
 Severity:  medium                                        |  
----------------------------------------------------------+-----------------
 When I went to implement a way to get time remaining on the status bar I
 noticed that extendedslidertext was intended to provide it.
 Unfortunately, it is defined as the string "(<time> remaining)".  This
 makes it very difficult to use without a monspaced font.  My goal was to
 end up with a string like "<time> of <time> (<time> remaining)".  Since
 the first part would change length for a variable size font, I couldn't
 figure out a way to place the extendedslidertext so it moved with the
 slidertext.

 This patch makes extendedslidertext be the full string above.  It didn't
 look like any of the themes were using extendedslidertext, so it didn't
 seem like a problem to redefine its meaning.

 Let me know if there is a better way to do this.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3524>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list