Re: Gnome2::GConf beta



* muppet <scott asofyet org>:

[ the tarball includes a porting of the basic-gconf-app that ships with
GConf sources ].

it's not immediately apparent that the prefs dialogs' changes are 
committed on focus-out or activate (pressing enter) in the entry 
widgets.  i kept wondering about that for a few minutes until i peeked 
at the source.  how about a label with an explanatory blurb?

As I said, it's a pretty much a 1:1 porting from the C source, with some
perlism in it (I've remove the unneeded subs in favour of anonymous subs
inside signal_connect and notify_add).  I've also forgot to connect the
"focus_out" signal... I could write a more extensive example, showing
more functionalities, and with a more sphisticated UI, but it'll need
some time to write and test.

WARNING: This binding requires GConf >= 2.2.0 (which is used by GNOME 
2,
and on my Debian SID).  I'm not very keen on requiring a previous
version, since GNOME 2.4 is already out, and so is GConf 2.4.0, but if
the internals are not changed that much, I could think about it.

i'm on redhat 8 with gnome 2.0 (and you'd better believe there's still 
a lot of those systems out there), which has gconf 1.2.1 (according to 
pkg-config's --modversion).  with a minor hack to the Makefile.PL, 
everything appears to work fine.  i presume this means the public API 
has been stable for a while.

That's what I wanted to know...

other differences in API could be supported with #ifdefs like Gtk2 and 
Glib.

I could handle future API changes, but for earlier versions of GConf,
someone with those version should notify me...

oh yeah, there appears to be a copy&paste bug in the %runtime_reqs, 
too...

I've changed that a 1 o'clock in the morning... :-)

diff -ru Gnome2-GConf-0.23/Makefile.PL Gnome2-GConf-0.23-mup/Makefile.PL
--- Gnome2-GConf-0.23/Makefile.PL     2003-09-18 18:52:12.000000000 -0400
+++ Gnome2-GConf-0.23-mup/Makefile.PL 2003-09-18 22:06:55.000000000 
-0400
@@ -13,12 +13,12 @@
      'perl-ExtUtils-PkgConfig' => '0.1',
      'perl-Glib'               => '1.00rc1',
      'perl-Gtk2'               => '1.00rc1',
-     'GConf'                   => '2.2.0',
+     'GConf'                   => '1.2.1',
 );

 # minimum required version of dependancies we need to run
 our %runtime_reqs = (
-     'GnomePrint'    => undef,
+     'GnomeConf'     => undef,
 );

 # Writing a fake Makefile ensures that CPAN will pick up the correct

Applied, version 0.24 on its way...

Regards,
 Emmanuele.

-- 
Emmanuele Bassi (Zefram)       [ http://digilander.libero.it/ebassi/blog ]
GnuPG Key fingerprint = 4DD0 C90D 4070 F071 5738  08BD 8ECC DB8F A432 0FF4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]