[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Graveman-cvs] Changes to graveman/current/src/config.c
From: |
sylvain cresto |
Subject: |
[Graveman-cvs] Changes to graveman/current/src/config.c |
Date: |
Thu, 31 Mar 2005 18:04:02 -0500 |
Index: graveman/current/src/config.c
diff -u graveman/current/src/config.c:1.27 graveman/current/src/config.c:1.28
--- graveman/current/src/config.c:1.27 Thu Mar 31 22:53:12 2005
+++ graveman/current/src/config.c Thu Mar 31 23:03:59 2005
@@ -796,7 +796,8 @@
/* test sur la version du fichier de configuration .. */
gboolean test_version()
{
- if (!conf_get_string("confversion")) {
+ char *Lver = conf_get_string("confversion");
+ if (!Lver || strcmp(Lver, VERSION)) {
gchar *Lerrmsg = g_strdup_printf(_("graveman update !\n\nYou must remove
your old configuration file '%s'.\nThen you can restart graveman..\n\nThanks !
:-)"), Gfileconf);
GtkWidget *Lerr = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL,
GTK_MESSAGE_WARNING,
GTK_BUTTONS_OK, Lerrmsg);