Changeset 919:2ce8ca39525b for src/mlx/gui/common.py
- Timestamp:
- 03/24/19 08:15:59 (5 years ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/common.py
r863 r919 31 31 32 32 if not pygobject: 33 print "Using PyGTK"33 print("Using PyGTK") 34 34 pygobject = False 35 35 import pygtk … … 42 42 import appindicator 43 43 appIndicator = True 44 except Exception ,e:44 except Exception as e: 45 45 pass 46 46 … … 113 113 def text2unicode(text): 114 114 """Convert the given text, returned by a Gtk widget, to Unicode.""" 115 return unicode(text)115 return str(text) 116 116 117 117 def text2str(text):
Note:
See TracChangeset
for help on using the changeset viewer.