Donate Share

Comix

Tracker: Feature Requests

5 Gnome VFS Support - ID: 1709468
Last Update: Comment added ( pcordes )

Should be there, as with any gnome application, eases a lot usage when you
have many PCs.

andres.430@gmail.com


Nobody/Anonymous ( nobody ) - 2007-04-29 02:25

5

Open

None

Pontus Ekberg

None

None

Public


Comments ( 6 )




Date: 2009-02-25 01:38
Sender: pcordes

GVFS or whatever it's called now has a module for treating archives as
directories. For supported archive types that allow random access (e.g.
zip), this would prob. be better than extracting to /tmp. Esp. for giant
archives when /tmp is on tmpfs...



Date: 2009-02-11 10:20
Sender: ssokolowAccepting Donations

I did a little googling and, theoretically, all you should need to do to
support this is add this snippet of code to your initialization:

try:
import gio
Open = gio.File
except ImportError:
try:
import gnomevfs
Open = gnomevfs.Handle
except ImportError:
Open = open

...and then make the following changes:

1. Replace all calls to open()/file() with Open() and adjust anything else
which operates directly on paths to operate on file-like objects instead.

2. Use this to enable VFS operation in your file picker:
if Open != open:
self.filechooser.set_local_only(False)

3. Use the same Open != open check anywhere you can't feasibly switch code
over to GVFS/GIO.


Date: 2008-08-01 21:38
Sender: trajanoAccepting Donations


As a temporary measure, you can use evince (part of Gnome) to view your
comic book files and it supports files that are over smb:// urls.


Date: 2007-11-27 19:01
Sender: maxmc


So I guess this should be changed to "Use gio" instead :)


Date: 2007-05-26 19:42
Sender: herrekbergProject AdminAccepting Donations


If it is added it will not be a requirement for running Comix.


Date: 2007-05-24 11:04
Sender: ssokolowAccepting Donations


But please don't make it a requirement. I'm a KDE user and the less GNOME
bloat on my system, the better. It's just that KDE people can't seem to
make decent image viewers. (I also use GQView for browsing my non-comic
images)


Log in to comment.




Attached File

No Files Currently Attached

Change ( 1 )

Field Old Value Date By
assigned_to nobody 2007-05-26 19:42 herrekberg