[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Graveman-cvs] Changes to graveman/current/src/matos.c
From: |
sylvain cresto |
Subject: |
[Graveman-cvs] Changes to graveman/current/src/matos.c |
Date: |
Thu, 31 Mar 2005 17:14:18 -0500 |
Index: graveman/current/src/matos.c
diff -u graveman/current/src/matos.c:1.25 graveman/current/src/matos.c:1.26
--- graveman/current/src/matos.c:1.25 Tue Mar 29 00:10:26 2005
+++ graveman/current/src/matos.c Thu Mar 31 22:14:12 2005
@@ -350,13 +350,9 @@
}
sc_grave_set_data(Ag, &Liso, "iso"); /* image iso */
-g_warning("tout debut !\n");
if (Lstatus && *Labort==FALSE) {
-g_warning("tout debut 2!\n");
Lextrapara = make_image_getextrapara(Ag, "data");
-g_warning("tout debut 3!\n");
sc_grave_set_data(Ag, Lextrapara, "extrapara"); /* parametres
supplementaires */
-g_warning("oui on fais l'iso !\n");
Lstatus = make_iso(Ag, Aerror);
sc_grave_del_data(Ag, "extrapara");
g_free(Lextrapara);
@@ -529,7 +525,6 @@
if (Lsimul) Ltodo++; /* 1 pour la simulation */
Lstatus = burn_dvd(Ag, Aerror);
-
} else {
Ltmp = _FILENAME(gtk_entry_get_text(Lgraveuriso));
g_strlcpy(Liso, Ltmp, MAXPATHLEN-1);
@@ -542,7 +537,7 @@
sc_grave_del_data(Ag, "extrapara");
g_free(Lextrapara);
- unlink(Ltmpdir);
+// unlink(Ltmpdir);
sc_grave_del_data(Ag, "todo");
sc_grave_del_data(Ag, "done");
@@ -559,8 +554,6 @@
gchar Ltitle[_BUF_SIZE];
Tdriveinfo *Ldevice = (Tdriveinfo *)sc_grave_get_data(Awaitg, "device1");
GtkLabel *Llabel = GTK_LABEL(sc_grave_get_widget(Awaitg, "label1"));
-printf("oui ?!\n");
-printf("typecd ==== [%d]\n", Atypecd);
*Ltitle=0;
*Lcd = 0;
if (Atypecd & _MEDIA_BLANKORAPPENDABLE) {
@@ -581,15 +574,12 @@
g_snprintf(Lcd, sizeof(Lcd)-1, _("a CD"));
}
-printf("la man 2?\n");
-printf("cd [%s]\n", Lcd);
-printf("drv [%s]\n", Ldevice->name);
if (Ainsert) {
g_snprintf(Ltitle, sizeof(Ltitle)-1, _("Please insert %s in drive %s to
continue..."), Lcd, Ldevice->name);
} else {
g_snprintf(Ltitle, sizeof(Ltitle)-1, _("Ok there is %s in drive %s."),
Lcd, Ldevice->name);
}
-printf("ca chie?\n");
+
gtk_label_set_text(Llabel, Ltitle);
}
@@ -610,30 +600,22 @@
Ldrive = sc_grave_get_data(Lg, "device1");
if (!Ldrive) return TRUE;
-printf("get1\n");
Lrequis = (GSList *) sc_grave_get_data(Lg, "devicerequis1");
-printf("get2\n");
Ldetect = (gint *) sc_grave_get_data(Lg, "detect1");
-printf("get3\n");
Lmediatitle = (gint *)sc_grave_get_data(Lg, "mediatitle1");
-printf("get4\n");
Lmedialu = 0;
if (Linitdisp && *Linitdisp) {
-printf("get6\n");
set_waitwindow_title(Lstatusmedia, *Lmediatitle, Lg);
-printf("get7\n");
gtk_widget_show(GTK_WIDGET(sc_grave_get_data(Lg, "window")));
gdk_flush ();
*Linitdisp = FALSE;
}
- printf("la DVD ?!\n");
/* if (*Lrequis & _MEDIA_IS_DVD) {*/
Lmedialu += get_dvdinfo(Lg, Ldrive, NULL);
/* }*/
- printf("la CD ?!\n");
/* if (*Lrequis & _MEDIA_IS_CD) {*/
Lmedialu += get_cdinfo(Lg, Ldrive, NULL);
/* }*/
@@ -646,11 +628,8 @@
((*Lrequis & _MEDIA_NOBLANK) && (Lmedialu &
_MEDIA_BLANK)) ||
((*Lrequis & _MEDIA_APPENDABLE) && (!(Lmedialu &
_MEDIA_APPENDABLE)));
if (Lstatusmedia) LnewCont = TRUE;*/
-printf("on a LU [%d]\n", Lmedialu);
for (Lcur = Lrequis; Lcur; Lcur = g_slist_next(Lcur)) {
Lmediatest = (int ) Lcur->data;
-printf("et on TEST [%d]\n", Lmediatest);
-printf("resu du test [%d]\n", (Lmediatest & Lmedialu));
if ((Lmediatest & Lmedialu) == Lmediatest) {
*Lcont = 0;
Lstatusmedia = FALSE;
@@ -703,7 +682,6 @@
gtk_window_set_position(GTK_WINDOW(Lwindow), GTK_WIN_POS_CENTER_ALWAYS);
- printf("ici man !\n");
/* on appele une fois le callback pour verifier que l'utilisateur n'ai pas
* deja inseré le bon cd qui va bien */
sc_grave_set_data(Lwaitg, &Linit, "initdisp");
@@ -728,7 +706,6 @@
g_free(Ldevicetitle1); g_free(Ldevicetitle2);
sc_grave_destroy(Lwaitg);
-printf("lcont => %d %d\n", Lcont, Labort);
return (Lcont == 0 && Labort == FALSE);
}
- [Graveman-cvs] Changes to graveman/current/src/matos.c, sylvain cresto, 2005/03/01
- [Graveman-cvs] Changes to graveman/current/src/matos.c, sylvain cresto, 2005/03/03
- [Graveman-cvs] Changes to graveman/current/src/matos.c, sylvain cresto, 2005/03/11
- [Graveman-cvs] Changes to graveman/current/src/matos.c, sylvain cresto, 2005/03/20
- [Graveman-cvs] Changes to graveman/current/src/matos.c, sylvain cresto, 2005/03/21
- [Graveman-cvs] Changes to graveman/current/src/matos.c, sylvain cresto, 2005/03/27
- [Graveman-cvs] Changes to graveman/current/src/matos.c, sylvain cresto, 2005/03/28
- [Graveman-cvs] Changes to graveman/current/src/matos.c,
sylvain cresto <=
- [Graveman-cvs] Changes to graveman/current/src/matos.c, sylvain cresto, 2005/03/31