Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No FileOpen dialog for csg #22

Open
glixx opened this issue May 10, 2013 · 5 comments
Open

No FileOpen dialog for csg #22

glixx opened this issue May 10, 2013 · 5 comments
Milestone

Comments

@glixx
Copy link

glixx commented May 10, 2013

No FileOpen dialog for csg.

@spiderbit
Copy link
Owner

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
Copy link
Author

glixx commented May 11, 2013

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

@glixx
Copy link
Author

glixx commented May 11, 2013

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
Copy link
Owner

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

@glixx
Copy link
Author

glixx commented May 13, 2013

Button "File" don't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants