graveman-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Graveman-cvs] Changes to graveman/current/src/main.c


From: sylvain cresto
Subject: [Graveman-cvs] Changes to graveman/current/src/main.c
Date: Tue, 19 Apr 2005 21:00:44 -0400

Index: graveman/current/src/main.c
diff -u graveman/current/src/main.c:1.18 graveman/current/src/main.c:1.19
--- graveman/current/src/main.c:1.18    Thu Apr 14 21:45:32 2005
+++ graveman/current/src/main.c Wed Apr 20 01:00:31 2005
@@ -57,14 +57,13 @@
 
   gtk_init (&Aargc, &Aargv);
 
-  add_pixmap_directory (PACKAGE_DATA_DIR "/" PACKAGE );
-
   /* on regarde si il y a un fichier de configuration present, si non on en
    * genere un nouveau */
   config_init();
   if (get_config_file(R_OK) == FALSE) {
     Tgrave *Lg = sc_grave_newempty();
-    manage_config(Lg, SEARCH_LECTEUR + CONF_INIT_DEFAULT + SEARCH_PROG + 
SEARCH_CHARSETS + WRITE_CONFIG, &Lerror);
+    manage_config(Lg, SEARCH_LECTEUR + CONF_INIT_DEFAULT + SEARCH_PROG + 
SEARCH_CHARSETS +
+                      WRITE_CONFIG, &Lerror);
     sc_grave_destroy(Lg);
     welcome_to_graveman();
   } else {
@@ -77,6 +76,10 @@
       sc_grave_destroy(Lg);
     }
   }
+  
+  if (Lerror) {
+    g_warning(Lerror->message);
+  }
 
   load_all_images();
   




reply via email to

[Prev in Thread] Current Thread [Next in Thread]