Bug fix: Conversion from QString to standard string #223
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I believe that str() will fail if given international characters. The following works for the normal tray notification. Does it work for the Notify.Notification menu?
Traceback (most recent call last):
File "/usr/share/pybitmessage/bitmessageqt/init.py", line 895, in updateNetworkStatusTab
self.setStatusIcon('yellow')
File "/usr/share/pybitmessage/bitmessageqt/init.py", line 925, in setStatusIcon
unicode(_translate("MainWindow","Connected").toUtf8(),'utf-8'))
NameError: global name '_translate' is not defined
Oh, pardon me. I'm working off of the latest code.
This doesn't use _translate :
self.notifierShow('Bitmessage', unicode(QtGui.QApplication.translate"MainWindow", "Connected").toUtf8(),'utf-8'))
Yes that works.
Merged. Tested normal notifications: successful. You may still want to test the messaging menu. I added the "translate" functions to the 'New Message' notification; it was missed previously.
Thank you