fanchart: deprecate radialtext options as something user sees
svn: r20349
This commit is contained in:
parent
889644df6e
commit
b00da4a099
@ -507,7 +507,7 @@ class FanChartWidget(Gtk.DrawingArea):
|
|||||||
#we are not in a move, so draw text
|
#we are not in a move, so draw text
|
||||||
radial = False
|
radial = False
|
||||||
radstart = radius - self.PIXELS_PER_GENERATION/2
|
radstart = radius - self.PIXELS_PER_GENERATION/2
|
||||||
if self.radialtext and generation >= 6:
|
if self.radialtext: ## and generation >= 6:
|
||||||
spacepolartext = radstart * (stop-start)*math.pi/180
|
spacepolartext = radstart * (stop-start)*math.pi/180
|
||||||
if spacepolartext < self.PIXELS_PER_GENERATION * 1.1:
|
if spacepolartext < self.PIXELS_PER_GENERATION * 1.1:
|
||||||
# more space to print it radial
|
# more space to print it radial
|
||||||
|
@ -300,10 +300,11 @@ class FanChartView(FanChartGrampsGUI, NavigationView):
|
|||||||
# options users should not change:
|
# options users should not change:
|
||||||
configdialog.add_checkbox(table,
|
configdialog.add_checkbox(table,
|
||||||
_('Show children ring'),
|
_('Show children ring'),
|
||||||
nrentry-2, 'interface.fanview-childrenring')
|
nrentry-1, 'interface.fanview-childrenring')
|
||||||
configdialog.add_checkbox(table,
|
# options we don't show on the dialog
|
||||||
_('Allow radial text at generation 6'),
|
##configdialog.add_checkbox(table,
|
||||||
nrentry-1, 'interface.fanview-radialtext')
|
## _('Allow radial text'),
|
||||||
|
## ??, 'interface.fanview-radialtext')
|
||||||
|
|
||||||
return _('Layout'), table
|
return _('Layout'), table
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user