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

View File

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