I too had to reemerge pygtk to get porthole running-it seeems to work ok-but when I try to "Run Custom Command" this is the rror message that appears-no window opens up....
I checked to see if the porhole.glade file was actually installed-it is, it is in /usr/share/porthole.....
Code: Select all
** (porthole:14476): WARNING **: `GtkTextSearchFlags' is not an enum type
(porthole:14476): libglade-WARNING **: could not find glade file 'porthole.glade'
Traceback (most recent call last):
File "/usr/lib/porthole/mainwindow.py", line 593, in custom_run
get_command = RunDialog(self.prefs, self.setup_command)
File "/usr/lib/porthole/command.py", line 35, in __init__
self.wtree = gtk.glade.XML(self.gladefile, "run_dialog")
RuntimeError: could not create GladeXML object
EDIT:
I just edited
/usr/lib/porthole/command.py
and changed "porthole.glade"
to
"/usr/share/porthole/porthole.glade"
and now the dialog comes up.....unfortunately I don't know python-I haven't programmed anything in 15 years-but this little hack seems to work-but it's probably not good hard-coding the path like that.....