~fabrixxm/oliver

e30a1894e61e853d3d8408e365c179a48770986e — fabrixxm 6 months ago 370c7b2
Window: fix title and statusbar css classes
2 files changed, 5 insertions(+), 4 deletions(-)

M src/window.blp
M src/window.vala
M src/window.blp => src/window.blp +4 -3
@@ 9,6 9,7 @@ template $OliverWindow : Adw.ApplicationWindow {
    Adw.ToolbarView {
      [top]
      Adw.HeaderBar header_bar {

        [start]
        Button rescan_button {
          icon-name: "view-refresh-symbolic";


@@ 32,7 33,7 @@ template $OliverWindow : Adw.ApplicationWindow {
        }

        title-widget: Label {
          styles ["caption"]
          styles ["heading"]
        };

        show-title: bind template.isValidProject;


@@ 65,13 66,13 @@ template $OliverWindow : Adw.ApplicationWindow {
        }

        Label status_bar {
          styles ["caption", "dim-label"]
          styles ["caption"]
          halign: start;
          hexpand: true;
        }

        Label project_info {
          styles ["caption", "dim-label"]
          styles ["caption"]
          halign: end;
        }
      }

M src/window.vala => src/window.vala +1 -1
@@ 57,7 57,7 @@ namespace Oliver {
        [GtkChild]
        private unowned Gtk.ListView results;

        public Window (Gtk.Application app) {
        public Window (Oliver.Application app) {
            Object (application: app);

            this.settings = new Settings(this.application.application_id);