Re: Blox and browser

Holger Freyther <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <[email protected]>
> On 21 Jan 2016, at 20:48, Holger Freyther <[email protected]> wrote:
> 


> PList doesn't seem to have a parentView when >>#initialize is called. This
> sounds like a fallout from my changes to >>#new changes I made in commit:
> 4a224a329b5e63ab6ed432f437eb822e995ae64d. You could try a version before
> that commit?

Okay, I have caused that fall-out. The below is a workaround. I will probably
end up renaming the >>#initialize routine. This way the class browser and
namespace view, senders/implementors have worked.

diff --git a/packages/blox/gtk/BloxBasic.st b/packages/blox/gtk/BloxBasic.st
index 2d70bf6..fea2004 100644
--- a/packages/blox/gtk/BloxBasic.st
+++ b/packages/blox/gtk/BloxBasic.st
@@ -39,6 +39,10 @@ Object subclass: Gui [
 expose an individual protocol but internally use a Blox widget for
 creating their user interface.'>
 
+    Gui class >> new [
+        ^self basicNew
+    ]
+
     blox [
        "Return instance of blox subclass which implements window"
 
diff --git a/packages/blox/tk/BloxBasic.st b/packages/blox/tk/BloxBasic.st
index 9fcd373..5e78032 100644
--- a/packages/blox/tk/BloxBasic.st
+++ b/packages/blox/tk/BloxBasic.st
@@ -39,6 +39,10 @@ Object subclass: Gui [
 expose an individual protocol but internally use a Blox widget for
 creating their user interface.'>
 
+    Gui class >> new [
+        ^self basicNew
+    ]
+
     blox [
        "Return instance of blox subclass which implements window"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.