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

From svn@pgadmin.org
Subject SVN Commit by andreas: r4437 - trunk/pgadmin3/src/frm
Date
Msg-id 200509101815.j8AIFKqL011498@developer.pgadmin.org
Whole thread Raw
List 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"));


pgadmin-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: FW: cron: sh /usr/local/src/pgadmin3/pkg/src/build-tarball;sh
Next
From: Andreas Pflug
Date:
Subject: suse makefile?