This instance will be upgraded to Heptapod 0.31.0 on 2022-05-19 at 11:00 UTC+2 (a few minutes of down time)

  • Steve Borho's avatar
    fileview: move file mode toolbar to the fileview header · 7b9d43baaf79
    Steve Borho authored
    pros:
    
    * the toolbar is now above the data it toggles
    * the mode buttons can be disabled when appropriate for given content
    * the next/prev buttons finally work correctly in all cases
    * the commit tool now has a diff/file toggle (we could allow it to be an editor)
    * all the signals are local to one widget, much simpler than before
    * makes room above the file list for a file list toolbar (soon to be used)
    
    cons:
    
    * the toolbar is a little taller than the text used to be
    * the previous mode is lost when a 'force' switch is made (view an A or R file)
    
    This latter can be fixed
    7b9d43baaf79
fileview.py 28.2 KB