canta icon indicating copy to clipboard operation
canta copied to clipboard

No FileOpen dialog for csg

Open glixx opened this issue 12 years ago • 5 comments

No FileOpen dialog for csg.

glixx avatar May 10 '13 20:05 glixx

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

spiderbit avatar May 10 '13 22:05 spiderbit

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

glixx avatar May 11 '13 06:05 glixx

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

glixx avatar May 11 '13 18:05 glixx

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

spiderbit avatar May 12 '13 23:05 spiderbit

Button "File" don't work.

glixx avatar May 13 '13 04:05 glixx