SVN Commit by andreas: r4836 - in branches/REL-1_4_0_PATCHES/pgadmin3/src: include/ctl slony slony/include

Поиск
Список
Период
Сортировка
От svn@pgadmin.org
Тема SVN Commit by andreas: r4836 - in branches/REL-1_4_0_PATCHES/pgadmin3/src: include/ctl slony slony/include
Дата
Msg-id 200512112216.jBBMGHWs004484@developer.pgadmin.org
обсуждение исходный текст
Ответы Re: SVN Commit by andreas: r4836 - in branches/REL-1_4_0_PATCHES/pgadmin3/src:  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список pgadmin-hackers
Author: andreas
Date: 2005-12-11 22:16:17 +0000 (Sun, 11 Dec 2005)
New Revision: 4836

Modified:
   branches/REL-1_4_0_PATCHES/pgadmin3/src/include/ctl/ctlComboBox.h
   branches/REL-1_4_0_PATCHES/pgadmin3/src/slony/include/slSubscription.h
   branches/REL-1_4_0_PATCHES/pgadmin3/src/slony/slSubscription.cpp
Log:
Fix: Unsubscribe set on receiver
Another wxComboBox(2.6.2) related fix

Modified: branches/REL-1_4_0_PATCHES/pgadmin3/src/include/ctl/ctlComboBox.h
===================================================================
--- branches/REL-1_4_0_PATCHES/pgadmin3/src/include/ctl/ctlComboBox.h    2005-12-11 22:01:08 UTC (rev 4835)
+++ branches/REL-1_4_0_PATCHES/pgadmin3/src/include/ctl/ctlComboBox.h    2005-12-11 22:16:17 UTC (rev 4836)
@@ -52,11 +52,6 @@
 #ifdef __WXMSW__
     wxString GetValue() const { return wxGetWindowText(GetHwnd()); }
 #endif
-
-
-private:
-    // to prevent using it; use GetCurrentSelection() instead
-    int GetSelection() const { return -1; }
 };

 class ctlComboBox : public ctlComboBoxFix

Modified: branches/REL-1_4_0_PATCHES/pgadmin3/src/slony/include/slSubscription.h
===================================================================
--- branches/REL-1_4_0_PATCHES/pgadmin3/src/slony/include/slSubscription.h    2005-12-11 22:01:08 UTC (rev 4835)
+++ branches/REL-1_4_0_PATCHES/pgadmin3/src/slony/include/slSubscription.h    2005-12-11 22:16:17 UTC (rev 4836)
@@ -59,6 +59,7 @@


     bool CanCreate();
+    bool CanDrop();

     bool DropObject(wxFrame *frame, ctlTree *browser, bool cascaded);
     wxString GetSql(ctlTree *browser);

Modified: branches/REL-1_4_0_PATCHES/pgadmin3/src/slony/slSubscription.cpp
===================================================================
--- branches/REL-1_4_0_PATCHES/pgadmin3/src/slony/slSubscription.cpp    2005-12-11 22:01:08 UTC (rev 4835)
+++ branches/REL-1_4_0_PATCHES/pgadmin3/src/slony/slSubscription.cpp    2005-12-11 22:16:17 UTC (rev 4836)
@@ -61,6 +61,12 @@
 }


+bool slSubscription::CanDrop()
+{
+    return GetReceiverId() == GetCluster()->GetLocalNodeID();
+}
+
+
 wxString slSubscription::GetSql(ctlTree *browser)
 {
     if (sql.IsNull())


В списке pgadmin-hackers по дате отправления:

Предыдущее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by andreas: r4835 - trunk/pgadmin3/src/schema
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: SVN Commit by andreas: r4836 - in branches/REL-1_4_0_PATCHES/pgadmin3/src: