From 8418ccb70156de3f541d290e3ba7356ea220e02c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Mon, 20 Feb 2006 15:11:38 +0000 Subject: [PATCH] all settings are now saved by pressing OK in the settings dialog, up to now it was only done at exiting git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@204 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- src/prefs.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/prefs.c b/src/prefs.c index 308ca020..99c986df 100644 --- a/src/prefs.c +++ b/src/prefs.c @@ -1,7 +1,7 @@ /* * prefs.c - this file is part of Geany, a fast and lightweight IDE * - * Copyright 2005 Enrico Troeger + * Copyright 2006 Enrico Troeger * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ #include "utils.h" #include "msgwindow.h" #include "sciwrappers.h" +#include "keyfile.h" #ifdef HAVE_VTE # include "vte.h" #endif @@ -383,6 +384,8 @@ void on_prefs_button_clicked(GtkDialog *dialog, gint response, gpointer user_dat old_long_line_color = g_strdup(app->long_line_color); } + // store all settings + configuration_save(); } gtk_widget_hide(GTK_WIDGET(dialog)); }