Remove obsolete setting for #linuxFontWorkaround. jv
authorJan Vrany <jan.vrany@fit.cvut.cz>
Wed, 20 Apr 2016 20:23:45 +0100
branchjv
changeset 16301 5b709afd8d92
parent 16300 0566688a620d
child 16304 1685d6f9384e
Remove obsolete setting for #linuxFontWorkaround. This setting is no longer needed as the problem was solved once for all. Nobody should need this setting now.
Tools__FontSettingsApplication.st
--- a/Tools__FontSettingsApplication.st	Wed Apr 20 17:01:03 2016 +0100
+++ b/Tools__FontSettingsApplication.st	Wed Apr 20 20:23:45 2016 +0100
@@ -255,10 +255,10 @@
                          label: 'Change...'
                          name: 'Button1'
                          layout: (LayoutFrame 100 0.0 15 0 205 0 37 0)
+                         activeHelpKey: changeCodeFont
                          translateLabel: true
                          tabable: true
                          model: changeTextFont
-                         activeHelpKey: changeCodeFont
                        )
                       (LabelSpec
                          label: 'Text Font'
@@ -290,10 +290,10 @@
                          label: 'Change...'
                          name: 'ChangeText'
                          layout: (LayoutFrame 100 0.0 15 0 205 0 37 0)
+                         activeHelpKey: changeInputFieldFont
                          translateLabel: true
                          tabable: true
                          model: changeInputFieldFont
-                         activeHelpKey: changeInputFieldFont
                        )
                       (LabelSpec
                          label: 'InputFields Font'
@@ -325,10 +325,10 @@
                          label: 'Change...'
                          name: 'ChangeLists'
                          layout: (LayoutFrame 100 0.0 15 0 205 0 37 0)
+                         activeHelpKey: changeListFont
                          translateLabel: true
                          tabable: true
                          model: changeListsFont
-                         activeHelpKey: changeListFont
                        )
                       (LabelSpec
                          label: 'Lists Font'
@@ -360,9 +360,9 @@
                          label: 'Change...'
                          name: 'ChangeMenus'
                          layout: (LayoutFrame 100 0.0 15 0 205 0 37 0)
+                         activeHelpKey: changeMenuFont
                          translateLabel: true
                          tabable: true
-                         activeHelpKey: changeMenuFont
                          model: changeMenusFont
                        )
                       (LabelSpec
@@ -395,9 +395,9 @@
                          label: 'Change...'
                          name: 'ChangeLabels'
                          layout: (LayoutFrame 100 0.0 15 0 205 0 37 0)
+                         activeHelpKey: changeLabelFont
                          translateLabel: true
                          tabable: true
-                         activeHelpKey: changeLabelFont
                          model: changeLabelsFont
                        )
                       (LabelSpec
@@ -430,9 +430,9 @@
                          label: 'Change...'
                          name: 'Change Buttons'
                          layout: (LayoutFrame 100 0.0 15 0 205 0 37 0)
+                         activeHelpKey: changeButtonFont
                          translateLabel: true
                          tabable: true
-                         activeHelpKey: changeButtonFont
                          model: changeButtonsFont
                        )
                       (LabelSpec
@@ -465,9 +465,9 @@
                          label: 'Change...'
                          name: 'Button11'
                          layout: (LayoutFrame 100 0.0 15 0 205 0 37 0)
+                         activeHelpKey: changeTooltipFont
                          translateLabel: true
                          tabable: true
-                         activeHelpKey: changeTooltipFont
                          model: changeTooltipFont
                        )
                       (LabelSpec
@@ -508,11 +508,11 @@
                          label: 'Label'
                          name: 'Label6'
                          layout: (LayoutFrame 210 0 15 0 -2 1 37 0)
+                         activeHelpKey: changeOtherFont
                          translateLabel: true
                          labelChannel: otherFontLabelHolder
                          adjust: left
                          postBuildCallback: postBuildOtherFontLabel:
-                         activeHelpKey: changeOtherFont
                        )
                       (DividerSpec
                          name: 'Separator13'
@@ -539,9 +539,9 @@
                          label: 'Change...'
                          name: 'ChangeAll'
                          layout: (LayoutFrame 100 0.0 11 0 205 0 33 0)
+                         activeHelpKey: changeAllFont
                          translateLabel: true
                          tabable: true
-                         activeHelpKey: changeAllFont
                          model: changeAllFont
                        )
                       (DividerSpec
@@ -554,14 +554,6 @@
                    extent: (Point 637 45)
                  )
                 (CheckBoxSpec
-                   label: 'Linux font workaround: do not reset fonts on snapshot restart'
-                   name: 'LinuxFontWorkaroundBox'
-                   visibilityChannel: linuxFontWorkaroundVisible
-                   model: linuxFontWorkaround
-                   translateLabel: true
-                   extent: (Point 637 30)
-                 )
-                (CheckBoxSpec
                    label: 'Only Use Xft Fonts (Unix Only)'
                    name: 'CheckBox1'
                    activeHelpKey: useXftFontsOnly
@@ -734,16 +726,12 @@
 basicReadSettings
     self basicReadFontSettings.
 
-    self readAspects: #(linuxFontWorkaround) from: currentUserPrefs
-
-    "Modified: / 10-10-2011 / 12:15:31 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 06-02-2012 / 12:22:51 / cg"
+    "Modified: / 20-04-2016 / 20:16:02 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 basicSaveSettings
-    |fn|
-
-    self writeAspects: #(linuxFontWorkaround useXftFontsOnly) to: currentUserPrefs.
+    self writeAspects: #(useXftFontsOnly) to: currentUserPrefs.
 
     UserPreferences current fontPreferences:
         (
@@ -791,7 +779,7 @@
 
     DebugView newDebugger.
 
-    "Modified: / 10-10-2011 / 12:15:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 20-04-2016 / 20:16:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 changeAllFont
@@ -1159,22 +1147,6 @@
     ^ labelsFontLabelHolder.
 !
 
-linuxFontWorkaround
-    linuxFontWorkaround isNil ifTrue:[
-        linuxFontWorkaround := false asValue.
-        linuxFontWorkaround onChangeSend:#updateModifiedChannel to:self
-    ].
-    ^ linuxFontWorkaround.
-
-    "Created: / 10-10-2011 / 12:14:26 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-!
-
-linuxFontWorkaroundVisible
-    ^OperatingSystem getOSType == #linux
-
-    "Created: / 10-10-2011 / 12:57:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-!
-
 listDef
     "return/create the 'listDef' value holder (automatically generated)"
 
@@ -1451,11 +1423,11 @@
     self inputFieldDef value ~= EditField defaultFont ifTrue:[^ true].
     self tooltipDef value ~= ActiveHelpView defaultFont ifTrue:[^ true].
 
-    (self hasChangedAspectIn: #(linuxFontWorkaround useXftFontsOnly) asComparedTo:currentUserPrefs) ifTrue:[^ true].
+    (self hasChangedAspectIn: #(useXftFontsOnly) asComparedTo:currentUserPrefs) ifTrue:[^ true].
 
     ^ false
 
-    "Modified: / 10-10-2011 / 12:14:10 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 20-04-2016 / 20:14:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 hasXftFonts
@@ -1470,5 +1442,10 @@
 
 version_CVS
     ^ '$Header$'
+!
+
+version_HG
+
+    ^ '$Changeset: <not expanded> $'
 ! !