From b00da4a099c52b555d8487f20ee138900d71f212 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Fri, 7 Sep 2012 12:31:57 +0000 Subject: [PATCH] fanchart: deprecate radialtext options as something user sees svn: r20349 --- src/gui/widgets/fanchart.py | 2 +- src/plugins/view/fanchartview.py | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/gui/widgets/fanchart.py b/src/gui/widgets/fanchart.py index 638a4418d..350742e02 100644 --- a/src/gui/widgets/fanchart.py +++ b/src/gui/widgets/fanchart.py @@ -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 diff --git a/src/plugins/view/fanchartview.py b/src/plugins/view/fanchartview.py index 876bcca5c..2dc138877 100644 --- a/src/plugins/view/fanchartview.py +++ b/src/plugins/view/fanchartview.py @@ -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