From: | svn(at)pgadmin(dot)org |
---|---|
To: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | SVN Commit by andreas: r4488 - trunk/pgadmin3/src |
Date: | 2005-10-04 17:54:26 |
Message-ID: | 200510041754.j94HsQHN003963@developer.pgadmin.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Author: andreas
Date: 2005-10-04 18:54:25 +0100 (Tue, 04 Oct 2005)
New Revision: 4488
Modified:
trunk/pgadmin3/src/pgAdmin3.cpp
Log:
-t cmd line option to enable language debugging
Modified: trunk/pgadmin3/src/pgAdmin3.cpp
===================================================================
--- trunk/pgadmin3/src/pgAdmin3.cpp 2005-10-04 17:37:49 UTC (rev 4487)
+++ trunk/pgadmin3/src/pgAdmin3.cpp 2005-10-04 17:54:25 UTC (rev 4488)
@@ -144,6 +144,12 @@
dlgList->Append(filename.Left(filename.Length()-4));
found = dir.GetNext(&filename);
}
+ if (!dlgList->GetCount())
+ {
+ dlgList->Append(wxT("No xrc files in directory"));
+ dlgList->Append(uiPath);
+ dlgList->Disable();
+ }
}
@@ -155,6 +161,7 @@
pgDialog *dlg=new pgDialog;
dlg->wxWindowBase::SetFont(settings->GetSystemFont());
dlg->LoadResource(this, dlgName);
+ dlg->SetTitle(dlgName);
dlg->Show();
}
}
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas Pflug | 2005-10-04 17:59:00 | Re: pgAdmin Translations |
Previous Message | svn | 2005-10-04 17:37:50 | SVN Commit by andreas: r4487 - trunk/pgadmin3 |