Changeset 227:50c3ae93007d for src/mlx/gui/common.py
- Timestamp:
- 06/05/12 18:20:01 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/common.py
r226 r227 60 60 WEIGHT_BOLD = pango.WEIGHT_BOLD 61 61 62 pixbuf_new_from_file = gdk.pixbuf_new_from_file 63 62 64 def text2unicode(text): 63 65 """Convert the given text, returned by a Gtk widget, to Unicode.""" … … 67 69 pygobject = True 68 70 from gi.repository import Gdk as gdk 71 from gi.repository import GdkPixbuf as gdkPixbuf 69 72 from gi.repository import Gtk as gtk 70 73 from gi.repository import GObject as gobject … … 109 112 WEIGHT_BOLD = pango.Weight.BOLD 110 113 114 pixbuf_new_from_file = gdkPixbuf.Pixbuf.new_from_file 115 111 116 import codecs 112 117 _utf8Decoder = codecs.getdecoder("utf-8") … … 208 213 #------------------------------------------------------------------------------ 209 214 210 WINDOW_TITLE_BASE = "MAVA Logger X " + _const.VERSION 215 PROGRAM_NAME = "MAVA Logger X" 216 217 WINDOW_TITLE_BASE = PROGRAM_NAME + " " + _const.VERSION 211 218 212 219 #------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.