Use filename as title when media info doesn't have one

This commit is contained in:
Rafostar
2020-09-10 11:34:50 +02:00
parent 3fb370e1d0
commit 557cbc11e2
2 changed files with 21 additions and 11 deletions

View File

@@ -102,9 +102,10 @@ var App = GObject.registerClass({
this.interface = new Interface();
let headerBar = new Gtk.HeaderBar({
show_close_button: true
title: APP_NAME,
show_close_button: true,
});
this.interface.addHeaderBar(headerBar);
this.interface.addHeaderBar(headerBar, APP_NAME);
this.interface.controls.toggleFullscreenButton.connect(
'clicked', this._onInterfaceToggleFullscreenClicked.bind(this)
);