~dpm/qreator/snap

« back to all changes in this revision

Viewing changes to qreator/qrcodes/QRCodeSMS.py

  • Committer: Stefan Schwarzburg
  • Date: 2012-10-30 08:57:13 UTC
  • mfrom: (89.7.4 qreator)
  • mto: (89.10.24 qreator_sms)
  • mto: This revision was merged to the branch mainline in revision 101.
  • Revision ID: stefan.schwarzburg@googlemail.com-20121030085713-2zk6dhgn13fqzx7g
added sms icons; added missing tools file; added a line to shrink the main window to a reasonable size...

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# with this program.  If not, see <http://www.gnu.org/licenses/>.
15
15
### END LICENSE
16
16
 
17
 
from qreator_lib.helpers import get_media_file
 
17
from qreator.tools import get_media_path
18
18
#from qreator_lib import QRCodeType as QRCodeType
19
19
from QRCodeSMSGtk import QRCodeSMSGtk
20
20
 
21
21
class QRCodeSMS(object):
22
22
    def __init__(self, qr_code_update_func, icon_path, description, id):
23
23
        self.qr_code_update_func = qr_code_update_func
24
 
        self.icon_path = get_media_file(icon_path)
 
24
        self.icon_path = get_media_path(icon_path)
25
25
        self.description = description
26
26
        self.id = id
27
27