mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
Add header bar with media title and path
This commit is contained in:
@@ -101,10 +101,15 @@ var App = GObject.registerClass({
|
||||
);
|
||||
|
||||
this.interface = new Interface();
|
||||
let headerBar = new Gtk.HeaderBar({
|
||||
show_close_button: true
|
||||
});
|
||||
this.interface.addHeaderBar(headerBar);
|
||||
this.interface.controls.toggleFullscreenButton.connect(
|
||||
'clicked', this._onInterfaceToggleFullscreenClicked.bind(this)
|
||||
);
|
||||
|
||||
this.window.set_titlebar(this.interface.headerBar);
|
||||
this.window.add(this.interface);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user