[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] Blox and browser
From: |
Holger Freyther |
Subject: |
Re: [Help-smalltalk] Blox and browser |
Date: |
Thu, 21 Jan 2016 21:21:46 +0100 |
> On 21 Jan 2016, at 20:48, Holger Freyther <address@hidden> 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"