From c51c0ce2b750f4bd2ffbdcf7bc972c28bf3bc170 Mon Sep 17 00:00:00 2001 From: Leonhard Date: Sat, 26 Aug 2023 10:52:59 +0200 Subject: [PATCH] Add halign and TODO --- src/ApplicationsPanel.vala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ApplicationsPanel.vala b/src/ApplicationsPanel.vala index 31462e53..9680bbe2 100644 --- a/src/ApplicationsPanel.vala +++ b/src/ApplicationsPanel.vala @@ -31,13 +31,16 @@ public class Sound.ApplicationsPanel : Gtk.Box { child = scrolled_window }; - var reset_button = new Gtk.Button.with_label (_("Reset all apps to default")); + var reset_button = new Gtk.Button.with_label (_("Reset all apps to default")) { + halign = END + }; orientation = VERTICAL; spacing = 12; add (frame); add (reset_button); + // TODO: Reset also non active applications reset_button.clicked.connect (() => { for (int i = 0; i < pulse_audio_manager.apps.get_n_items (); i++) { pulse_audio_manager.change_application_volume ((App) pulse_audio_manager.apps.get_item (i), 1);