Thread: [Jahshaka-cvs] jah/jahtools/jplayer jplayer.py,1.43,1.44
Status: Beta
Brought to you by:
jahshaka
From: tim <tim...@us...> - 2006-09-24 17:43:55
|
Update of /cvsroot/jahshaka/jah/jahtools/jplayer In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv10103/jahtools/jplayer Modified Files: jplayer.py Log Message: - updating python files to change jahwidget.create)( to jahwidget.create_ui_from_file() - invert sense of volume slider Index: jplayer.py =================================================================== RCS file: /cvsroot/jahshaka/jah/jahtools/jplayer/jplayer.py,v retrieving revision 1.43 retrieving revision 1.44 diff -u -d -r1.43 -r1.44 --- jplayer.py 22 Sep 2006 16:50:55 -0000 1.43 +++ jplayer.py 24 Sep 2006 17:43:51 -0000 1.44 @@ -773,9 +773,9 @@ def __init__( self ): # Construct the window from the ui self.top_level = jahwidgets.create_borderless_toplevel() - self.main_handle = jahwidgets.create( get_absolute_path( "main.ui" ), self.top_level ) + self.main_handle = jahwidgets.create_ui_from_file( get_absolute_path( "main.ui" ), self.top_level ) self.toolbar_placeholder_handle = jahwidgets.find( "toolbar_placeholder", self.main_handle ) - self.toolbar_handle = jahwidgets.create( get_absolute_path( "toolbar.ui" ), self.toolbar_placeholder_handle ) + self.toolbar_handle = jahwidgets.create_ui_from_file( get_absolute_path( "toolbar.ui" ), self.toolbar_placeholder_handle ) self.player_handle = jahwidgets.find( "player", self.main_handle ) self.top_level.show( True ) self.top_level.resize( 600, 500 ) |