Skip to content

Commit

Permalink
Handle own titlebuttons (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Mar 21, 2024
1 parent 7b3210c commit 652b626
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 @@ -51,13 +51,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 652b626

Please sign in to comment.