[gnome-control-center/gnome-3-28] Trigger active_input_update as a workaround in some cases which is reporting things in the wrong ord
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-28] Trigger active_input_update as a workaround in some cases which is reporting things in the wrong ord
- Date: Tue, 10 Dec 2019 22:28:44 +0000 (UTC)
commit aa4d70d84f188b4fe2a79101a4524a21ed565f5f
Author: hugh chao (hugh712) <hugh chao canonical com>
Date: Fri Nov 29 13:07:15 2019 +0800
Trigger active_input_update as a workaround in some cases which is
reporting things in the wrong order.
https://gitlab.gnome.org/GNOME/gnome-control-center/issues/324
panels/sound/gvc-mixer-dialog.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/panels/sound/gvc-mixer-dialog.c b/panels/sound/gvc-mixer-dialog.c
index e3e1efcac..009151841 100644
--- a/panels/sound/gvc-mixer-dialog.c
+++ b/panels/sound/gvc-mixer-dialog.c
@@ -1151,6 +1151,9 @@ add_input_ui_entry (GvcMixerDialog *dialog,
ICON_COLUMN, icon,
ID_COLUMN, gvc_mixer_ui_device_get_id (input),
-1);
+
+ if (gtk_tree_model_iter_n_children (model, NULL) == 1)
+ active_input_update (dialog, input);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]