Changeset 2244

Show
Ignore:
Timestamp:
2006-05-11 12:15:33 (3 years ago)
Author:
scott
Message:

Two bug fixes. One to load correct web address and on to not print
current volume setting.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • annoamp/trunk/annoamp.py

    r2243 r2244  
    269269    #the volume property ranges from 0-4 
    270270    player.playbin.props.volume = xml.get_widget("volume_scale").get_value()*4/100 
    271     print "setting volume to: ",player.playbin.props.volume 
    272271     
    273272def format_time(time): 
     
    325324 
    326325def open_URL(widget): 
    327     webbrowser.open(player.tag_info_list[player.current].clip_info[player.pos].props.anchor_href
     326    webbrowser.open(player.tag_info_list[player.current].clip_info[player.pos].props.anchor_uri
    328327     
    329328def get_history(): 
  • annoamp/trunk/anxplayer.py

    r2243 r2244  
    1616#along with this program; if not, write to the Free Software 
    1717#Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. 
    18  
     18import pygst 
     19pygst.require ("0.10") 
    1920import types 
    2021import gobject 
     
    203204 
    204205        result = fake.set_state (gst.STATE_PLAYING) 
    205         #else: 
    206         #    self.tag_info_list.append([]) 
    207         #    self.on_file_added(filename, []) 
    208         #    return 
    209206 
    210207    def play(self):