summaryrefslogtreecommitdiff
path: root/src/headerBar.js
Commit message (Collapse)AuthorAgeFilesLines
* Use object destructuring in constructorsJames Westman2022-10-051-4/+1
|
* Migrate to ES6 modulesMarcus Lundblad2022-06-081-36/+30
| | | | | | | | | | | | Switch to using ES6 modules for internal modules and GI modules instead of using the legacy imports object. The unit tests are still using imports.jsunit as this is not available as an ES6 module (the preferred solution now is to use jasmine-gjs). imports.bytearray, imports.format, and imports.mainloop are covered in follow-up commits.
* headerBar: Don't disable buttons based on connectivityMarcus Lundblad2022-04-031-14/+0
| | | | | | Don't set sensitivity of the layers, favorites, print, and route buttons based on network monitor connection status.
* mainWindow: Split out headerbar buttonsJames Westman2020-03-091-0/+95
Refactor the headerbar buttons into two new UI components, HeaderBarLeft and HeaderBarRight. This is necessary for the next step of making the adaptive UI, which is to show these buttons in an action bar when the window is too narrow for them to fit in the headerbar.