~jconti/ubuntu/precise/emesene/fix-956422

« back to all changes in this revision

Viewing changes to plugins_base/currentSong/QuodLibet.py

  • Committer: Bazaar Package Importer
  • Author(s): Devid Antonio Filoni
  • Date: 2010-04-14 01:33:51 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20100414013351-r2icbt5gs4ai71j8
Tags: 1.6.1-0ubuntu1
* New upstream release (LP: #562646).
* Fix missing-debian-source-format lintian warning.
* Refresh 20_dont_build_own_libmimic.patch patch.
* Bump Standards-Version to 3.8.4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
            return True
66
66
 
67
67
        return False
68
 
        
69
 
    def getStatus( self ):
70
 
        '''check if everything is OK to start the plugin
71
 
        return a tuple whith a boolean and a message
72
 
        if OK -> ( True , 'some message' )
73
 
        else -> ( False , 'error message' )'''
74
 
        
75
 
        if os.name != 'posix':
76
 
            return (False, _('This plugin only works in posix systems'))
77
 
   
78
 
        if not self.iface:
79
 
            return (False, _('You don\'t have dbus. '
80
 
                'Try to install dbus and/or use a dbus enabled '
81
 
                'version of quodlibet.'))
82
 
        
83
 
        return ( True, 'Ok' )