/[graveman]/graveman/current/src/main.c
ViewVC logotype

Diff of /graveman/current/src/main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21 by scresto, Wed May 4 01:31:06 2005 UTC revision 1.22 by scresto, Tue May 17 01:16:34 2005 UTC
# Line 54  gint main (gint Aargc, gchar *Aargv[]) Line 54  gint main (gint Aargc, gchar *Aargv[])
54    config_init();    config_init();
55    if (get_config_file(R_OK) == FALSE) {    if (get_config_file(R_OK) == FALSE) {
56      Tgrave *Lg = sc_grave_newempty();      Tgrave *Lg = sc_grave_newempty();
57        load_all_images();
58      manage_config(Lg, SEARCH_LECTEUR + CONF_INIT_DEFAULT + SEARCH_PROG + SEARCH_CHARSETS +      manage_config(Lg, SEARCH_LECTEUR + CONF_INIT_DEFAULT + SEARCH_PROG + SEARCH_CHARSETS +
59                        WRITE_CONFIG, &Lerror);                        WRITE_CONFIG, &Lerror);
60      sc_grave_destroy(Lg);      sc_grave_destroy(Lg);
61      welcome_to_graveman();      welcome_to_graveman();
62    } else {    } else {
63      if (read_config(&Lerror)==FALSE) return EXIT_FAILURE;      if (read_config(&Lerror)==FALSE) return EXIT_FAILURE;
64        load_all_images();
65      if (conf_get_boolean("scan_drives") || param_get_boolean("scan_drives"))      if (conf_get_boolean("scan_drives") || param_get_boolean("scan_drives"))
66      {      {
67        Tgrave *Lg = sc_grave_newempty();        Tgrave *Lg = sc_grave_newempty();
# Line 72  gint main (gint Aargc, gchar *Aargv[]) Line 74  gint main (gint Aargc, gchar *Aargv[])
74    if (Lerror) {    if (Lerror) {
75      g_warning("%s", Lerror->message);      g_warning("%s", Lerror->message);
76    }    }
   
   load_all_images();  
77        
78    manage_main_window (&Laudiolen, &Laudiomaxlen, &Ldatasize, &Ldatamaxsize, &Ldvdsize, &Ldvddatamaxsize);    manage_main_window (&Laudiolen, &Laudiomaxlen, &Ldatasize, &Ldatamaxsize, &Ldvdsize, &Ldvddatamaxsize);
79    

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26