Kaydet (Commit) 8418ccb7 authored tarafından Enrico Tröger's avatar Enrico Tröger

all settings are now saved by pressing OK in the settings dialog, up to now it…

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
üst ae5261a0
/*
* prefs.c - this file is part of Geany, a fast and lightweight IDE
*
* Copyright 2005 Enrico Troeger <enrico.troeger@uvena.de>
* Copyright 2006 Enrico Troeger <enrico.troeger@uvena.de>
*
* 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));
}
......
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