Skip to content

Commit

Permalink
Handle own titlebuttons
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Mar 14, 2024
1 parent 8d21993 commit ac155b4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Plug.vala
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ public class Sound.Plug : Switchboard.Plug {
child = stack
};

box = new Gtk.Box (VERTICAL, 12) {
margin_top = 12,
margin_end = 12,
margin_bottom = 12,
margin_start = 12
var headerbar = new Adw.HeaderBar () {
title_widget = stack_switcher
};
box.append (stack_switcher);
headerbar.add_css_class (Granite.STYLE_CLASS_FLAT);

box = new Gtk.Box (VERTICAL, 0);
box.append (headerbar);
box.append (clamp);

var pam = PulseAudioManager.get_default ();
Expand Down

0 comments on commit ac155b4

Please sign in to comment.