Switched 'Graph generations' option in Report Options from EnumeratedListOption to NumberOption as it didn't maked sense to me
svn: r15391
This commit is contained in:
parent
9b73c0e80a
commit
33bcc40293
@ -5816,11 +5816,7 @@ class NavWebOptions(MenuReportOptions):
|
|||||||
menu.add_option(category_name, 'graph', self.__graph)
|
menu.add_option(category_name, 'graph', self.__graph)
|
||||||
self.__graph.connect('value-changed', self.__graph_changed)
|
self.__graph.connect('value-changed', self.__graph_changed)
|
||||||
|
|
||||||
self.__graphgens = EnumeratedListOption(_('Graph generations'), 4)
|
self.__graphgens = NumberOption(_("Graph generations"), 4, 2, 5)
|
||||||
self.__graphgens.add_item(2, "2")
|
|
||||||
self.__graphgens.add_item(3, "3")
|
|
||||||
self.__graphgens.add_item(4, "4")
|
|
||||||
self.__graphgens.add_item(5, "5")
|
|
||||||
self.__graphgens.set_help( _("The number of generations to include in "
|
self.__graphgens.set_help( _("The number of generations to include in "
|
||||||
"the ancestor graph"))
|
"the ancestor graph"))
|
||||||
menu.add_option(category_name, "graphgens", self.__graphgens)
|
menu.add_option(category_name, "graphgens", self.__graphgens)
|
||||||
|
Loading…
Reference in New Issue
Block a user