fix: surface zoitechat.conf/colors.conf save failures; add missing theme prefs fwd decl

This commit is contained in:
deepend committed 2026-03-16 21:55:36 -06:00
1 parent e90f0188c1
commit 96af9bdde6
15 files changed
+62 -32

No files matched your search

+4 -2
View File
@@ -2193,8 +2193,10 @@ setup_ok_cb (GtkWidget *but, GtkWidget *win)
{
gtk_widget_destroy (win);
setup_apply (&setup_prefs);
save_config ();
theme_manager_save_preferences ();
if (!save_config ())
fe_message (_("Could not save zoitechat.conf."), FE_MSG_ERROR);
if (!theme_manager_save_preferences ())
fe_message (_("Could not save colors.conf."), FE_MSG_ERROR);
}
static GtkWidget *