Changeset 20:c2c47ea02649 for src
- Timestamp:
- 02/12/12 13:59:16 (13 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src
- Files:
-
- 1 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/const.py
r11 r20 1 1 # Various constants used in the logger 2 3 #------------------------------------------------------------------------------- 4 5 # The version of the program 6 VERSION="0.001" 2 7 3 8 #------------------------------------------------------------------------------- -
src/mlx.py
r18 r20 55 55 """Build the GUI.""" 56 56 win = gtk.Window() 57 win.set_title("MAVA Logger X 0.001 Test")57 win.set_title("MAVA Logger X " + const.VERSION) 58 58 win.connect("delete-event", gtk.main_quit) 59 59 … … 586 586 buffer.insert(buffer.get_end_iter(), msg) 587 587 self._logView.scroll_mark_onscreen(buffer.get_insert()) 588 589 if __name__ == "__main__": 588 589 def main(): 590 """The main operation of the program.""" 590 591 gobject.threads_init() 591 592 gui = GUI() 592 593 gui.build() 593 594 gui.run() 594 595 595 596 if __name__ == "__main__": 597 main() 598 599
Note:
See TracChangeset
for help on using the changeset viewer.