fanchart: deprecate radialtext options as something user sees

svn: r20349
This commit is contained in:
Benny Malengier 2012-09-07 12:31:57 +00:00
parent 889644df6e
commit b00da4a099
2 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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