Commit b0f6957d authored by Guido Gunther's avatar Guido Gunther
Browse files

Merge branch 'pureos/sloppy' into 'pureos/sloppy'

Fix feedback display

See merge request Librem5/gnome-control-center!11
parents a830ab3e 60c5b7ba
......@@ -190,9 +190,9 @@ feedback_row_changed_cb (CcNotificationsPanel *panel)
index = hdy_combo_row_get_selected_index (panel->feedback_combo_row);
if (index == NOTIFICATION_SILENT)
value = "quiet";
else if (index == NOTIFICATION_VIBRATION_ONLY)
value = "silent";
else if (index == NOTIFICATION_VIBRATION_ONLY)
value = "quiet";
else
value = "full";
......@@ -255,9 +255,9 @@ notifications_row_init (CcNotificationsPanel *panel)
value = g_settings_get_string (panel->feedback_settings, "profile");
if (g_str_equal (value, "silent"))
index = NOTIFICATION_VIBRATION_ONLY;
else if (g_str_equal (value, "quiet"))
index = NOTIFICATION_SILENT;
else if (g_str_equal (value, "quiet"))
index = NOTIFICATION_VIBRATION_ONLY;
else
index = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment