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