Unix Technical Forum

SVN Commit by andreas: r4563 - trunk/pgadmin3/src/dlg

This is a discussion on SVN Commit by andreas: r4563 - trunk/pgadmin3/src/dlg within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> Author: andreas Date: 2005-10-18 17:44:06 +0100 (Tue, 18 Oct 2005) New Revision: 4563 Modified: trunk/pgadmin3/src/dlg/dlgProperty.cpp Log: fix refreshing servers ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Hackers

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 05:36 PM
svn@pgadmin.org
 
Posts: n/a
Default SVN Commit by andreas: r4563 - trunk/pgadmin3/src/dlg

Author: andreas
Date: 2005-10-18 17:44:06 +0100 (Tue, 18 Oct 2005)
New Revision: 4563

Modified:
trunk/pgadmin3/src/dlg/dlgProperty.cpp
Log:
fix refreshing servers node

Modified: trunk/pgadmin3/src/dlg/dlgProperty.cpp
================================================== =================
--- trunk/pgadmin3/src/dlg/dlgProperty.cpp 2005-10-18 16:21:06 UTC (rev 4562)
+++ trunk/pgadmin3/src/dlg/dlgProperty.cpp 2005-10-18 16:44:06 UTC (rev 4563)
@@ -1418,5 +1418,7 @@

bool refreshFactory::CheckEnable(pgObject *obj)
{
- return obj != 0;
+ // This isn't really clean... But we don't have a pgObject::CanRefresh() so far,
+ // so it's Good Enough (tm) for now.
+ return obj != 0 && !obj->IsCreatedBy(serverFactory.GetCollectionFactory()) ;
}


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:53 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com