Ignore:
Timestamp:
06/05/12 18:20:01 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Added a Help menu with the manual and the about dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/common.py

    r226 r227  
    6060    WEIGHT_BOLD = pango.WEIGHT_BOLD
    6161
     62    pixbuf_new_from_file = gdk.pixbuf_new_from_file
     63
    6264    def text2unicode(text):
    6365        """Convert the given text, returned by a Gtk widget, to Unicode."""
     
    6769    pygobject = True
    6870    from gi.repository import Gdk as gdk
     71    from gi.repository import GdkPixbuf as gdkPixbuf
    6972    from gi.repository import Gtk as gtk
    7073    from gi.repository import GObject as gobject
     
    109112    WEIGHT_BOLD = pango.Weight.BOLD
    110113
     114    pixbuf_new_from_file = gdkPixbuf.Pixbuf.new_from_file
     115
    111116    import codecs
    112117    _utf8Decoder = codecs.getdecoder("utf-8")
     
    208213#------------------------------------------------------------------------------
    209214
    210 WINDOW_TITLE_BASE = "MAVA Logger X " + _const.VERSION
     215PROGRAM_NAME = "MAVA Logger X"
     216
     217WINDOW_TITLE_BASE = PROGRAM_NAME + " " + _const.VERSION
    211218
    212219#------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.