spiderbit / canta

The main public repo for the Canta project - a free karaoke game
http://www.canta-game.org
16 stars 2 forks source link

No FileOpen dialog for csg #22

Open glixx opened 11 years ago

glixx commented 11 years ago

No FileOpen dialog for csg.

spiderbit commented 11 years ago

hmm really? if you start run_song_generator directly under file-open no file-dialog shows up? here it does, so could you give me console output or anything?

maybe really the starter script "csg" has some bugs, but then it should work if you start run_song_generator directly

glixx commented 11 years ago

Console output is empty. Button File don't work. I can not use File->open dialog. canta10

glixx commented 11 years ago

it's crazy that you don't get any error but no file dialog, maybe your distro has a buggy version of python-wxgtk?

No, python-wxgtk works fine with other programs like: http://code.google.com/p/lxde-ctrl-center/source/browse/branches/0.0.8/share/lxde-ctrl-center/control-center.py:

def search_icon(self, widget):
    self.builder.get_object('filechooserdialog').set_title(_('LXDE Control Center'))
    self.builder.get_object('filechooserdialog').set_action(gtk.FILE_CHOOSER_ACTION_OPEN)
    self.builder.get_object('filechooserdialog').show()

def on_search_ok(self, widget, data=None):
    icon_file = self.builder.get_object('filechooserdialog').get_filename()
    if icon_file:
        self.builder.get_object('icon').set_text(icon_file.strip())
        self.search_close(self)
    else:
        print (_('Icon is not selected'))

def search_close(self, widget, data=None):
    self.builder.get_object('filechooserdialog').hide()
    return True
spiderbit commented 11 years ago

hmm did you press file before you pressed the "Generate Song" Button?

glixx commented 11 years ago

Button "File" don't work.