Public bug reported:
Platform : Ubuntu 8.10 Desktop.
I have a simple program that tries to access the gtk FileChooser dialog...and
use ssh urls with it. This does not work on Ubuntu. And gives error : Operation
not supported. and the dialog does not allow the ssh urls.
So I wrote a test program.. and it is reproducing...I have the local-only set
to False.
=================
import gtk
import pygtk
filesel = gtk.FileChooserDialog("HELLO",
action=gtk.FILE_CHOOSER_ACTION_OPEN,
buttons=(gtk.STOCK_CANCEL,
gtk.RESPONSE_CANCEL,
gtk.STOCK_OPEN,
gtk.RESPONSE_OK),
backend = "gnome-vfs")
filesel.set_property("local-only",False)
print filesel.get_property("local-only")
url="ssh://root:[email protected]/"
filesel.set_current_folder_uri(url)
result=filesel.run()
print result
===================
I tried the following... (which might suggest that gnome-vfs is present)
import gnomevfs
import gnome.ui
gnome.ui.authentication_manager_init()
gnomevfs.get_file_info("ssh://[email protected]/")
And it prompts me for the password. If I supply the password.. then I get some
valid object back.
=========
Source package might be gnome-python on 2.22.3-0ubuntu1
** Affects: pygtk (Ubuntu)
Importance: Undecided
Status: New
--
FileChooser does not seem to work with gnome-vfs backend
https://bugs.launchpad.net/bugs/325916
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs