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