SVN Commit by andreas: r4437 - trunk/pgadmin3/src/frm

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by andreas: r4437 - trunk/pgadmin3/src/frm
Date: 2005-09-10 18:15:20
Message-ID: 200509101815.j8AIFKqL011498@developer.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Author: andreas
Date: 2005-09-10 19:15:20 +0100 (Sat, 10 Sep 2005)
New Revision: 4437

Modified:
trunk/pgadmin3/src/frm/frmQuery.cpp
Log:
Fix parameter error

Modified: trunk/pgadmin3/src/frm/frmQuery.cpp
===================================================================
--- trunk/pgadmin3/src/frm/frmQuery.cpp 2005-09-10 18:10:15 UTC (rev 4436)
+++ trunk/pgadmin3/src/frm/frmQuery.cpp 2005-09-10 18:15:20 UTC (rev 4437)
@@ -1160,9 +1160,9 @@
notifies++;

if (notify->data.IsEmpty())
- notifyStr.Printf(_("\nAsynchronous notification of '%s' received from backend pid %d"), notify->name, notify->pid);
+ notifyStr.Printf(_("\nAsynchronous notification of '%s' received from backend pid %d"), notify->name.c_str(), notify->pid);
else
- notifyStr.Printf(_("\nAsynchronous notification of '%s' received from backend pid %d\n Data: %s"), notify->name, notify->pid, notify->data);
+ notifyStr.Printf(_("\nAsynchronous notification of '%s' received from backend pid %d\n Data: %s"), notify->name.c_str(), notify->pid, notify->data.c_str());

msgResult->AppendText(notifyStr);
msgHistory->AppendText(notifyStr);
@@ -1176,7 +1176,7 @@
if (statusMsg.Last() == '.')
statusMsg = statusMsg.Left(statusMsg.Length() - 1);

- SetStatusText(wxString::Format(_("%s (%d asynchronous notifications received)."), statusMsg, notifies), STATUSPOS_MSGS);
+ SetStatusText(wxString::Format(_("%s (%d asynchronous notifications received)."), statusMsg.c_str(), notifies), STATUSPOS_MSGS);
}

msgResult->AppendText(wxT("\n"));

Browse pgadmin-hackers by date

  From Date Subject
Next Message Andreas Pflug 2005-09-10 18:22:13 suse makefile?
Previous Message Andreas Pflug 2005-09-10 18:12:23 Re: FW: cron: sh /usr/local/src/pgadmin3/pkg/src/build-tarball;sh