diff --git a/src/gui/viewmanager.py b/src/gui/viewmanager.py index 07be5ec6b..f158a7039 100644 --- a/src/gui/viewmanager.py +++ b/src/gui/viewmanager.py @@ -939,10 +939,15 @@ class ViewManager(CLIManager): uimenuitems += '\n' % pageid uitoolitems += '\n' % pageid # id, stock, button text, UI, tooltip, page + if nrpage < 9 * 3: + modifier = ["", + "", + ""][int(nrpage / 9)] + str((nrpage % 9) + 1) + else: + modifier = "" self.view_toggle_actions[indexcat].append((pageid, page.get_viewtype_stock(), - pdata.name, '%i' % (nrpage+1), page_title, - nrpage)) + pdata.name, modifier, page_title, nrpage)) nrpage += 1 if nr_views > 1: