Re: pgAdmin3 svn 4409 on Debian - segfault - Mailing list pgadmin-hackers

From Tomasz Rybak
Subject Re: pgAdmin3 svn 4409 on Debian - segfault
Date
Msg-id 1124658537.4626.14.camel@localhost.localdomain
Whole thread Raw
In response to Re: pgAdmin3 svn 4409 on Debian - segfault  (Andreas Pflug <pgadmin@pse-consulting.de>)
Responses Re: pgAdmin3 svn 4409 on Debian - segfault
List pgadmin-hackers
Dnia 21-08-2005, nie o godzinie 17:26 +0000, Andreas Pflug napisał(a):
> Tomasz Rybak wrote:
> > Hello.
> > I've downloaded pgAdmin3 from trunk 4409.
>
> Use the latest (4412); there was a major problem with wxgtk in a
> previous version.


OK. After changing  factory.cpp, pgAdmin3 works.
Even Slony-I is visible.

tomus@barad-dur:~/Zrodla/admin$ svn diff src/base/factory.cpp
Index: src/base/factory.cpp
===================================================================
--- src/base/factory.cpp        (wersja 4412)
+++ src/base/factory.cpp        (kopia robocza)
@@ -289,7 +289,11 @@

 actionFactory::actionFactory(menuFactoryList *list) : menuFactory(list)
 {
+       if (list){
     id = list->GetCount()+MNU_ACTION -1;
+       } else {
+               id = 0;
+       }
     context=false;
 }


Best regards.
Tomasz



pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Splash screen
Next
From: Andreas Pflug
Date:
Subject: Re: Splash screen