Blame SOURCES/0001-sound-Ensure-to-preserve-sound-theme-when-changing-f.patch

b28b5c
From 9dd43182ecb9f8406a1aecd0719f2c5225d3101e Mon Sep 17 00:00:00 2001
b28b5c
From: Carlos Garnacho <carlosg@gnome.org>
b28b5c
Date: Thu, 28 Nov 2019 15:47:02 +0100
b28b5c
Subject: [PATCH 1/3] sound: Ensure to preserve sound theme when changing from
b28b5c
 default
b28b5c
b28b5c
The sound theme change itself triggers signals that are handled here
b28b5c
in the GSettings handlers, possibly resulting in it changing the
b28b5c
theme back to default. Ensure we are handling a real change here,
b28b5c
the sound theme will be updated through other means (eg. the row
b28b5c
changed handler).
b28b5c
---
b28b5c
 panels/sound/gvc-sound-theme-chooser.c | 4 ++--
b28b5c
 1 file changed, 2 insertions(+), 2 deletions(-)
b28b5c
b28b5c
diff --git a/panels/sound/gvc-sound-theme-chooser.c b/panels/sound/gvc-sound-theme-chooser.c
b28b5c
index 93eeb155c..9d1051f04 100644
b28b5c
--- a/panels/sound/gvc-sound-theme-chooser.c
b28b5c
+++ b/panels/sound/gvc-sound-theme-chooser.c
b28b5c
@@ -632,11 +632,11 @@ update_theme (GvcSoundThemeChooser *chooser)
b28b5c
                         load_theme_name (DEFAULT_THEME,
b28b5c
                                          &chooser->current_parent);
b28b5c
                 }
b28b5c
+
b28b5c
+                update_alerts_from_theme_name (chooser, chooser->current_theme);
b28b5c
         }
b28b5c
 
b28b5c
         gtk_widget_set_sensitive (chooser->selection_box, events_enabled);
b28b5c
-
b28b5c
-        update_alerts_from_theme_name (chooser, chooser->current_theme);
b28b5c
 }
b28b5c
 
b28b5c
 static GObject *
b28b5c
-- 
b28b5c
2.24.0
b28b5c