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
|
||||
radial = False
|
||||
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
|
||||
if spacepolartext < self.PIXELS_PER_GENERATION * 1.1:
|
||||
# more space to print it radial
|
||||
|
@ -300,10 +300,11 @@ class FanChartView(FanChartGrampsGUI, NavigationView):
|
||||
# options users should not change:
|
||||
configdialog.add_checkbox(table,
|
||||
_('Show children ring'),
|
||||
nrentry-2, 'interface.fanview-childrenring')
|
||||
configdialog.add_checkbox(table,
|
||||
_('Allow radial text at generation 6'),
|
||||
nrentry-1, 'interface.fanview-radialtext')
|
||||
nrentry-1, 'interface.fanview-childrenring')
|
||||
# options we don't show on the dialog
|
||||
##configdialog.add_checkbox(table,
|
||||
## _('Allow radial text'),
|
||||
## ??, 'interface.fanview-radialtext')
|
||||
|
||||
return _('Layout'), table
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user