Re: gtk frontend for cdebconf, ready for commit

2002-09-18 Thread Michael Cardenas
On Mon, Sep 16, 2002 at 11:46:41AM +0200, Martin Sj?gren wrote: ... > When I ran ../debconf test.config (using the gtk2 fe) and tried using > the Back button it segfaulted: > > 236 *pq = (*pq)->prev->prev; > (gdb) p (*pq)->prev > $2 = (struct question *) 0xe8 > (gdb) p (*pq)->prev->prev > C

Re: gtk frontend for cdebconf, ready for commit

2002-09-06 Thread Martin Sjögren
fre 2002-09-06 klockan 09.50 skrev Michael Cardenas: > Thanks to Mithrandir, I was able to get the tests working. Great! > - dialogs are now hidden before calling gtk_main_quit, so after > hitting "finish" the dialog goes away It struck me that it would be *much* better if the dialog was "reus

Re: gtk frontend for cdebconf, ready for commit

2002-09-06 Thread Michael Cardenas
On Thu, Sep 05, 2002 at 10:46:38PM -0700, Michael Cardenas wrote: > Attached is a patch against cvs for > > debian-installer/tools/cdebconf/src/modules/frontend/gtk/gtk.c > Sorry to flood the list with this stuff, but here's a patch to my last patch. Just correctly freeing a few more pointers.

Re: gtk frontend for cdebconf, ready for commit

2002-09-06 Thread Michael Cardenas
On Thu, Sep 05, 2002 at 10:46:38PM -0700, Michael Cardenas wrote: > Attached is a patch against cvs for > > debian-installer/tools/cdebconf/src/modules/frontend/gtk/gtk.c > > that corrects a number of the problems discussed below. Unfortunately, > I still can't test, as I mentioned in an earlie

Re: gtk frontend for cdebconf, ready for commit

2002-09-05 Thread Michael Cardenas
Attached is a patch against cvs for debian-installer/tools/cdebconf/src/modules/frontend/gtk/gtk.c that corrects a number of the problems discussed below. Unfortunately, I still can't test, as I mentioned in an earlier email, so I would appreciate if someone could verify this patch before apply

Re: gtk frontend for cdebconf, ready for commit

2002-09-05 Thread Matt Kraai
On Thu, Sep 05, 2002 at 02:50:26PM +0200, Martin Sj?gren wrote: > tor 2002-09-05 klockan 02.31 skrev Michael Cardenas: > > +void passwd_callback( GtkWidget *widget, > > + GtkWidget *entry ) > > +{ > > + const char *entrytext; > > + entrytext = gtk_entry_get_text (GTK_ENTRY (e

Re: gtk frontend for cdebconf, ready for commit

2002-09-05 Thread Michael Cardenas
On Thu, Sep 05, 2002 at 10:49:58AM +0200, Martin Sj?gren wrote: ... > > > I was unable to figure out the > > > cdebconf tests dir, so if someone can explain to me how they work, I > > > can do much better testing on it myself. For now, I've just been > > > making little "hello world" type apps to

Re: gtk frontend for cdebconf, ready for commit

2002-09-05 Thread Michael Cardenas
On Thu, Sep 05, 2002 at 10:49:58AM +0200, Martin Sj?gren wrote: > tor 2002-09-05 klockan 02.31 skrev Michael Cardenas: > > > Attached is a patch for cdebconf that adds a gtk2.0 frontend. It is > > > relatively complete. The select and text handlers are not finished, > > > but there is enough to be

Re: gtk frontend for cdebconf, ready for commit

2002-09-05 Thread Martin Sjögren
tor 2002-09-05 klockan 02.31 skrev Michael Cardenas: Now I've tested it, and I get a segfault after the password dialog. Let's have a look at some of the code. I hope my comments are useful ;) > +void passwd_callback( GtkWidget *widget, > + GtkWidget *entry ) > +{ > + const

Re: gtk frontend for cdebconf, ready for commit

2002-09-05 Thread Tollef Fog Heen
* Michael Cardenas | I've attached a cleaner, more complete patch to this email. Now all of | the question handlers are done. commited. -- Tollef Fog Heen,''`. UNIX is user friendly, it's just picky about who its friends are : :' :

Re: gtk frontend for cdebconf, ready for commit

2002-09-05 Thread Tollef Fog Heen
* Martin Sjögren | You'll also have to touch templates.dat, or it'll complain about it not | existing. At this point you should be able to do: It'll complain, but create it. -- Tollef Fog Heen,''`. UNIX is user friendly, it's just picky

Re: gtk frontend for cdebconf, ready for commit

2002-09-05 Thread Martin Sjögren
tor 2002-09-05 klockan 02.31 skrev Michael Cardenas: > > Attached is a patch for cdebconf that adds a gtk2.0 frontend. It is > > relatively complete. The select and text handlers are not finished, > > but there is enough to be tested here. > > I've attached a cleaner, more complete patch to this

Re: gtk frontend for cdebconf, ready for commit

2002-09-05 Thread Michael Cardenas
On Tue, Sep 03, 2002 at 05:18:28PM -0700, Michael Cardenas wrote: > Hello all. > Hello again. > Attached is a patch for cdebconf that adds a gtk2.0 frontend. It is > relatively complete. The select and text handlers are not finished, > but there is enough to be tested here. I've attached a