menu.patch 906 B

1234567891011121314151617181920212223242526272829303132
  1. --- jumpnbump_menu.py.pre.orig 2017-05-21 20:06:53.393232483 +0200
  2. +++ jumpnbump_menu.py.pre 2017-05-21 20:10:36.387911904 +0200
  3. @@ -1,4 +1,4 @@
  4. -#!/usr/bin/env python
  5. +#!/usr/bin/env python2
  6. # Author: Martin Willemoes Hansen
  7. # License: Gnu GPL
  8. @@ -147,11 +147,8 @@
  9. def get_level():
  10. level = []
  11. - if (mirror.get_active()):
  12. - level.append('-mirror')
  13. - else:
  14. - level.append('-dat')
  15. - level.append(choosen_level)
  16. + level.append('-dat')
  17. + level.append(choosen_level)
  18. return level
  19. @@ -224,6 +221,8 @@
  20. noflies = gui.get_widget('noflies')
  21. withmusic = gui.get_widget('withmusic')
  22. image = gui.get_widget('image')
  23. + mainwindow = gui.get_widget('main')
  24. + mainwindow.set_icon_from_file('/usr/share/icons/jumpnbump.png')
  25. gui.signal_autoconnect({'standalone_mode': standalone_mode,
  26. 'client_mode': client_mode,