Changeset 20:c2c47ea02649 for src


Ignore:
Timestamp:
02/12/12 13:59:16 (13 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added support for creating an installer package

Location:
src
Files:
1 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • src/const.py

    r11 r20  
    11# Various constants used in the logger
     2
     3#-------------------------------------------------------------------------------
     4
     5# The version of the program
     6VERSION="0.001"
    27
    38#-------------------------------------------------------------------------------
  • src/mlx.py

    r18 r20  
    5555        """Build the GUI."""
    5656        win = gtk.Window()
    57         win.set_title("MAVA Logger X 0.001 Test")
     57        win.set_title("MAVA Logger X " + const.VERSION)
    5858        win.connect("delete-event", gtk.main_quit)
    5959
     
    586586        buffer.insert(buffer.get_end_iter(), msg)
    587587        self._logView.scroll_mark_onscreen(buffer.get_insert())
    588              
    589 if __name__ == "__main__":
     588
     589def main():
     590    """The main operation of the program."""
    590591    gobject.threads_init()
    591592    gui = GUI()
    592593    gui.build()
    593594    gui.run()
    594 
    595 
     595             
     596if __name__ == "__main__":
     597    main()
     598
     599
Note: See TracChangeset for help on using the changeset viewer.