网络感知 wx.FileDialog [英] Network-aware wx.FileDialog

查看:34
本文介绍了网络感知 wx.FileDialog的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 xubuntu 8.10 下的 wxPython 2.8.8.0 应用程序中使用 wx.FileDialog .. 我的问题是这个对话框不能识别网络,所以我无法浏览 Samba 共享.
我发现这个问题也困扰着其他应用程序(Firefox、Audacious...),所以我想问一下在哪里可以找到有关如何使其工作的信息.
该对话框是否应该已经具有网络感知能力?我错过了什么吗?也许是某个图书馆?还是我应该编写自己的实现?
非常感谢!

I'm using wx.FileDialog in a wxPython 2.8.8.0 application, under Xubuntu 8.10.. My problem is that this dialog isn't network-aware, so I can't browse Samba shares.
I see that this problem plagues other applications too (Firefox, Audacious...) so I'd like to ask where I could find informations on how to make it work.
Is that dialog supposed to be already network-aware? Am I missing something? Some library maybe? Or should I write my own implementation?
Many thanks!

推荐答案

Robin Dunn 亲自告诉我

Robin Dunn himself told me that

它使用的是原生"GTK文件对话框,就像其他应用程序一样,所以wx没有什么可以做的关于它.

It's using the "native" GTK file dialog, just like the other apps, so there isn't anything that wx can do about it.

作为一种解决方法,我最终安装了 gvfs-fuse 并浏览网络通过 $HOME/.gvfs .. 有点笨拙,但它有效.

So as a workaround I ended up installing gvfs-fuse and browsing the network through $HOME/.gvfs.. A bit klunky but it works.

这篇关于网络感知 wx.FileDialog的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆