Die Libgnome Die

I just committed to Evince a patch which makes the use of libgnome optional, meaning that Evince is now buildable on a pure GMAE system (obligatory screenshot). As GMAE has GConf and gnome-vfs, and gnome-keyring is trivial enough to leave in, the patch turned out to be quite simple:

So the only regressions are that the keyboard accelerators are not saved, there is no session management (until session management lands in GTK+), and if gnome-vfs wants a password you don't get a password dialog. In my opinion only the last regression is actually a problem, and I want to fix that at some point.

Thanks to the Evince maintainers for their rapid review!

NP: Position Correction, TZU

16:20 Friday, 04 May 2007 [#] [computers] (7 comments)

Posted by bkor at Fri May 4 17:25:48 2007:
and bug-buddy
Posted by thebluesgnr at Fri May 4 17:47:04 2007:
Ubuntu has a package called "evince-gtk" which is used in Xubuntu by default. You might want to check what they've done to get there.
Posted by Ross at Fri May 4 18:04:53 2007:
thebluesgnr: that is probably based on the original patches in the bug I referred too, which takes the policy that all of GNOME is bad.

I don't believe that is right, and neither do the evince maintainers: my patch got accepted in a day, and the pure-gtk patch didn't get finished in over a year.
Posted by pbor at Fri May 4 18:15:57 2007:
you should use gdk_spawn_on_screen instead of g_spawn, since evince is single instance otherwise the help window will always be opened on the first screen.

Btw, saving the shortcuts should be totally trivial, the gnome function just calls a gtk function iirc.

ciao
Posted by Etrunko at Fri May 4 19:25:12 2007:
W00T!!! Thank you very much Ross. I'll now use your patch to build the Maemo version.
Posted by Lucas Rocha at Fri May 4 20:05:15 2007:
Is EOG next? :-P
Posted by Ross at Sat May 12 16:41:52 2007:
pbor: the help fix is committed, and I've filed a patch for the accelerator load/save.

Name:


E-mail:


URL:


Add 2 and 4 (required):


Comment: