pspp-dev
[Top][All Lists]
Advanced

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

Re: Reading Gtk-Builder files:


From: John Darrington
Subject: Re: Reading Gtk-Builder files:
Date: Thu, 8 Oct 2009 07:03:48 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

I also did some experiments and got similar results.  I think there
may be some C code changes necessary, to  undo some work-arounds that
were previously necessary.    

But I agree that a piecemeal transition to a .glade-less source tree
is probably the best approach.   And yes, psppire.glade could certainly
do with being subdivided.

J'

On Wed, Oct 07, 2009 at 09:33:34PM -0700, Ben Pfaff wrote:
     Ben Pfaff <address@hidden> writes:
     
     > John Darrington <address@hidden> writes:
     >
     >> 1.  I don't know if the new glade version works properly with all the 
custom
     >>     widgets that we have.  Such as psppire-keypad psppire-dictview etc.
     >
     > OK, I guess we'll have to test that.
     
     I did a few experiments tonight:
     
             * The Glade integration seems to work fine with Glade
               3.6.7, except that PSPP's "make install" installed the
               PSPPIRE widget icons under the wrong directory and with
               the wrong names.  Once I moved them and renamed them,
               Glade showed the icons (and the widgets) fine.
     
             * Glade seems OK at converting .glade files into .ui
               files, by using File|Open to open the .glade file and
               then File|Save As to save the corresponding .ui file.
     
             * Some of the output .ui files still caused libglade
               failures (and typically segfaults) at runtime because
               the Glade program doesn't care about duplicate ids but
               libglade refuses to load files with duplicate ids, so I
               spent quite a bit of time eliminating duplicates by
               hand.
     
             * The Compute dialog box makes the Glade program
               segfault.  I ended up having to just delete it.  I
               don't know why Glade doesn't like it.
     
             * The GtkBuilder output produced by Glade 3.6.7 seemed to
               work just fine at runtime, as long as there were no
               duplicate IDs.
     
     All in all the idea of switching to .ui files in the source tree
     seems fairly feasible.  Perhaps we can do it a few files at a
     time if necessary.  This might also be a good time to break
     psppire.glade into multiple files.
     -- 
     "To the engineer, the world is a toy box full of sub-optimized and
      feature-poor toys."
     --Scott Adams
     
     
     _______________________________________________
     pspp-dev mailing list
     address@hidden
     http://lists.gnu.org/mailman/listinfo/pspp-dev

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]