SVN Commit by andreas: r4488 - trunk/pgadmin3/src - Mailing list pgadmin-hackers

From svn@pgadmin.org
Subject SVN Commit by andreas: r4488 - trunk/pgadmin3/src
Date
Msg-id 200510041754.j94HsQHN003963@developer.pgadmin.org
Whole thread Raw
List 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();
     }
 }


pgadmin-hackers by date:

Previous
From: svn@pgadmin.org
Date:
Subject: SVN Commit by andreas: r4487 - trunk/pgadmin3
Next
From: svn@pgadmin.org
Date:
Subject: SVN Commit by andreas: r4489 - trunk/pgadmin3/i18n/de_DE