From f44b108cc2d64bed69f08d529c95edd5546a29a4 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 19 Nov 2024 12:46:51 +0100 Subject: [PATCH] EActionComboBox: User change not always notified to the listeners This exhibited in Edit->Preferences->Composer Preferences, change of the default composer Format was not saved into the GSettings. --- src/e-util/e-action-combo-box.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/e-util/e-action-combo-box.c b/src/e-util/e-action-combo-box.c index 14c33d81fd..3705266f25 100644 --- a/src/e-util/e-action-combo-box.c +++ b/src/e-util/e-action-combo-box.c @@ -391,8 +391,10 @@ action_combo_box_changed (GtkComboBox *combo_box) model = gtk_combo_box_get_model (combo_box); gtk_tree_model_get (model, &iter, COLUMN_ACTION, &action, -1); - if (action != NULL) + if (action != NULL) { e_ui_action_set_active (action, TRUE); + g_object_notify (G_OBJECT (combo_box), "current-value"); + } g_object_unref (action); }