Open files via native file chooser

This commit is contained in:
Rafostar
2020-10-26 21:25:13 +01:00
parent 556809c1f4
commit ac06e84851
6 changed files with 81 additions and 4 deletions

View File

@@ -45,7 +45,8 @@ class ClapperApp extends Gtk.Application
`${clapperPath}/ui/clapper.ui`
);
let models = {
settingsMenu: uiBuilder.get_object('settingsMenu')
addMediaMenu: uiBuilder.get_object('addMediaMenu'),
settingsMenu: uiBuilder.get_object('settingsMenu'),
};
let headerBar = new HeaderBar(window, models);
window.set_titlebar(headerBar);