Skip to content

Commit

Permalink
Updates gvfsgio/shi-jian-wu-3001-yuan-cheng-mu-lu.md
Browse files Browse the repository at this point in the history
Auto commit by GitBook Editor
  • Loading branch information
Yue-Lan committed Jun 11, 2019
1 parent 77461d4 commit 2aca8b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Binary file added assets/2019-06-11 14-35-59屏幕截图.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2019-06-11 14-36-25屏幕截图.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion gvfsgio/shi-jian-wu-3001-yuan-cheng-mu-lu.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@

* [https://github.com/Yue-Lan/gio-remote-location-demo](https://github.com/Yue-Lan/gio-remote-location-demo)

这是我近期实现的一个demo,它通过GMountOperation将远程目录挂载至本地gvfs实现,其实在gtk中有GMountOperatrion的简易实现GtkMountOperation,也是gnome目前使用的远程登录对话框,为了熟知它的流程,我这里没有使用这个对话框,而是自己实现了一个
这是我近期实现的一个demo,它通过GMountOperation将远程目录挂载至本地gvfs实现,其实在gtk中有GMountOperatrion的简易实现GtkMountOperation,也是gnome目前使用的远程登录对话框,为了熟知它的流程,我这里没有使用这个对话框,而是自己实现了一个。

![](/assets/2019-06-11 14-35-59屏幕截图.png)![](/assets/2019-06-11 14-36-25屏幕截图.png)远程目录的处理总是会有一些麻烦,因为gvfs/gio也不可能那么万能,比如我们无法向在本地一样监听远程目录获取它的changed信号,之前也说过了回收站的不支持问题,但是总体来说,大部分的文件操作还是与本地没有太大差异的。

0 comments on commit 2aca8b1

Please sign in to comment.