Added UserPreferences>>smallSenseEnabled:
authorJan Vrany <jan.vrany@fit.cvut.cz>
Mon, 02 Apr 2012 13:11:56 +0100
changeset 20 65bee305e13f
parent 19 3b7fd62bf51c
child 21 ab990a292878
Added UserPreferences>>smallSenseEnabled:
Make.proto
Make.spec
bc.mak
extensions.st
smallsense.rc
--- a/Make.proto	Fri Mar 09 07:57:34 2012 +0000
+++ b/Make.proto	Mon Apr 02 13:11:56 2012 +0100
@@ -1,7 +1,7 @@
 # $Header$
 #
 # DO NOT EDIT
-# automagically generated from the projectDefinition: stx_libtool_smallsense at 2012-03-09 08:56:57.658.
+# automagically generated from the projectDefinition: stx_libtool_smallsense at 2012-04-02 13:12:41.556.
 #
 # Warning: once you modify this file, do not rerun
 # stmkmp or projectDefinition-build again - otherwise, your changes are lost.
@@ -80,8 +80,8 @@
 
 stx_libtool_smallsense.o: stx_libtool_smallsense.st .svnversion 
 	if [ -d .svn ]; then \
-		rev2=$(shell svnversion -n); \
-		sed -e "s/\"\$$SVN\-Revision:\".*\"\$$\"/\"\$$SVN-Revision:\"$$rev2\"\$$\"/g" $< > .stx_libtool_smallsense.svn.st; \
+		rev2="$(shell printf "%-16s" $$(cat .svnversion))"; \
+		sed -e "s/\"\$$SVN\-Revision:\".*\"\$$\"/\"\$$SVN-Revision:\"\'$$rev2\'\"\$$\"/g" $< > .stx_libtool_smallsense.svn.st; \
 	fi
 	$(MAKE) CC="$(CLASSLIB_CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" STC="$(STC)" STFILE=.stx_libtool_smallsense.svn $(O_RULE);
 	mv .stx_libtool_smallsense.svn.$(O) stx_libtool_smallsense.$(O) 
--- a/Make.spec	Fri Mar 09 07:57:34 2012 +0000
+++ b/Make.spec	Mon Apr 02 13:11:56 2012 +0100
@@ -1,7 +1,7 @@
 # $Header$
 #
 # DO NOT EDIT
-# automagically generated from the projectDefinition: stx_libtool_smallsense at 2012-03-09 08:56:56.686.
+# automagically generated from the projectDefinition: stx_libtool_smallsense at 2012-04-02 13:12:40.771.
 #
 # Warning: once you modify this file, do not rerun
 # stmkmp or projectDefinition-build again - otherwise, your changes are lost.
--- a/bc.mak	Fri Mar 09 07:57:34 2012 +0000
+++ b/bc.mak	Mon Apr 02 13:11:56 2012 +0100
@@ -1,7 +1,7 @@
 # $Header$
 #
 # DO NOT EDIT
-# automagically generated from the projectDefinition: stx_libtool_smallsense at 2012-03-09 08:56:58.175.
+# automagically generated from the projectDefinition: stx_libtool_smallsense at 2012-04-02 13:12:41.822.
 #
 # Warning: once you modify this file, do not rerun
 # stmkmp or projectDefinition-build again - otherwise, your changes are lost.
--- a/extensions.st	Fri Mar 09 07:57:34 2012 +0000
+++ b/extensions.st	Mon Apr 02 13:11:56 2012 +0100
@@ -273,6 +273,22 @@
     "Created: / 27-11-2011 / 17:20:55 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
+!UserPreferences methodsFor:'accessing-SmallSense'!
+
+smallSenseEnabled: aBoolean
+    "enable/disable SmallSense"
+
+    ^self at:#smallSenseEnabled: put: aBoolean.
+
+    "
+    UserPreferences current smallSenseEnabled.
+    UserPreferences current smallSenseEnabled: true.
+    UserPreferences current smallSenseEnabled: false.
+    "
+
+    "Created: / 02-04-2012 / 11:37:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
 !VariableNode methodsFor:'queries'!
 
 isGlobalOrPrivateClass
@@ -285,5 +301,5 @@
 !stx_libtool_smallsense class methodsFor:'documentation'!
 
 extensionsVersion_SVN
-    ^ '$Id: extensions.st 7922 2012-03-09 07:57:34Z vranyj1 $'
+    ^ '$Id:: extensions.st 7962 2012-04-02 12:11:56Z vranyj1                                                                        $'
 ! !
\ No newline at end of file
--- a/smallsense.rc	Fri Mar 09 07:57:34 2012 +0000
+++ b/smallsense.rc	Mon Apr 02 13:11:56 2012 +0100
@@ -25,7 +25,7 @@
       VALUE "LegalCopyright", "Copyright Claus Gittinger 1988-2011\nCopyright eXept Software AG 1998-2011\0"
       VALUE "ProductName", "Smalltalk/X\0"
       VALUE "ProductVersion", "6.2.1.1\0"
-      VALUE "ProductDate", "Fri, 09 Mar 2012 07:57:02 GMT\0"
+      VALUE "ProductDate", "Mon, 02 Apr 2012 12:12:49 GMT\0"
     END
 
   END