Toolbar and Navigator reorganization

(GrampsAIO64-5.1.3-2, Windows 10, Adwaita dark theme)
Edited december 22 2020

And to test the horizontal navigator and reorganized toolbar here is the hack:

1 - Backup categorysidebar.py, navigator.py, viewmanager.py, grampsgui.py and config.py
2 - Before replacing the following files display the Navigator and select Category as view.
3 - Get the 7 modified files and replace them in your Gramps installation.
(you can see modifications by performing a text search on “###” in these files)
4 - Run Gramps
5 - Take in place your original files after test.

The 7 modified files are in the zip file here :

Install icons for Plugin manager and Preferences available here (only svg files are required) :

[EDIT : new version : december 22 2020]
This version allows you to modify categories’s buttons order, separators and colors used (see the first change in file categorysidebar.py).

  • Toolbar and horizontal categories’s bar positions are inverted.
  • A button to show/hide menu bar and another one to show some tools are added to the toolbar.
  • Popup menus replaced with popover menus
  • Combined tree managment button and recent trees list menu
  • Opened tree name removed from the recent trees list
  • Add a Dynamic Navigator mode for smalls screens : to test it :
    1 - select : “Show text label beside Navigator buttons” in Preferences’s Display tab
    2 - in categorysidebar.py replace “False” by “True” in the line
    self.use_dyna_nav = False and use_text
    to read
    self.use_dyna_nav = True and use_text
  • Navigator mode configuration context menu (icons only, text only, icons and text, dynamic navigator +
    big or small icons).
    To access menu right click a button inside the Navigator.
    Do your choices and restart Gramps after.(now no restart is needed).

Best regards.

2 Likes