[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Graveman-cvs] Changes to graveman/current/src/callbacks.c
From: |
sylvain cresto |
Subject: |
[Graveman-cvs] Changes to graveman/current/src/callbacks.c |
Date: |
Thu, 31 Mar 2005 17:14:16 -0500 |
Index: graveman/current/src/callbacks.c
diff -u graveman/current/src/callbacks.c:1.33
graveman/current/src/callbacks.c:1.34
--- graveman/current/src/callbacks.c:1.33 Tue Mar 29 00:10:26 2005
+++ graveman/current/src/callbacks.c Thu Mar 31 22:14:12 2005
@@ -981,9 +981,7 @@
GtkWidget *Lconfirm;
GSList *Llmediarequis = g_slist_append(NULL, GINT_TO_POINTER(_MEDIA_CDRW +
_MEDIA_NOBLANK));
gboolean Lstatus;
-printf("tout debut !\n");
Lstatus = waiting_for_user(_MEDIA_BLANKORAPPENDABLE, Lg, Llmediarequis,
NULL, get_drive_info(Lg, "dstothercombo"));
-printf("aprew awit !\n");
g_slist_free(Llmediarequis);
if (Lstatus==FALSE) return;
@@ -1024,7 +1022,6 @@
GSList *Llmediarequis2 = NULL;
gint Lmediatitle1 = _MEDIA_NONE, Lmediatitle2 = _MEDIA_NONE;
gint Lmediadetect1 = _MEDIA_NONE, Lmediadetect2 = _MEDIA_NONE;
- // gchar Ldevicename1[_BUF_SIZE], Ldevicename2[_BUF_SIZE];
Tdriveinfo *Ldevicename1 = NULL, *Ldevicename2 = NULL;
gboolean Lwritercdrw;
gboolean Liso = FALSE;
@@ -1063,7 +1060,6 @@
GtkTreeModel *Ltreemodel =
gtk_tree_view_get_model(GTK_TREE_VIEW(sc_grave_get_data(Lg, "_current_list")));
/* gravure cd de donnee, on verifie qu'il y ai au
* moins un fichier/repertoire dans la liste */
-printf("oui on passe la !\n");
if (g_str_has_prefix(Lname, "btnburndvddata")) {
Loperation = WRITE_DVD;
}
@@ -1103,7 +1099,6 @@
Ltitle = _("Writing iso image in progress...");
}
} else {
-printf("la man ! DVDDVDVDVDVD\n");
Ldevicename1 = get_drive_info(Lg, "dstdvddatacombo");
Liso = !Ldevicename1;
if (!Liso) {
@@ -1115,7 +1110,6 @@
Llmediarequis1 = g_slist_append(Llmediarequis1,
GINT_TO_POINTER(_MEDIA_DVDMRW));
Lmediatitle1 = _MEDIA_DVDRew;
} else {
- printf("ok trankil\n");
/* creation image iso */
Loperation = WRITE_CD;
Ltxt = _("Do you really want to create an iso image ?");
@@ -1124,7 +1118,6 @@
} else {
/* copie de cd */
-printf("copie ?!\n");
Ltxt = _("Do you really want to start the copy ?");
Ltitle = _("Copying in progress...");
Ldevicename1 = get_drive_info(Lg, "srccopycombo");
@@ -1145,28 +1138,20 @@
}
}
-/* if (g_slist_length(Llmediarequis1)) Ldevice1 = sc_grave_get_widget(Lg,
Ldevicename1);
- if (g_slist_length(Llmediarequis2)) Ldevice2 = sc_grave_get_widget(Lg,
Ldevicename2);*/
-
/* attente que l'utilisateur ai bien insere un cd */
-printf("attente 1 mediatitle1 [%d]\n", Lmediatitle1);
if (waiting_for_user(Lmediatitle1, Lg, Llmediarequis1, &Lmediadetect1,
Ldevicename1)==FALSE) return;
-printf("attente 2\n");
if (waiting_for_user(Lmediatitle2, Lg, Llmediarequis2, &Lmediadetect2,
Ldevicename2)==FALSE) return;
-printf("attente 3\n");
/* confirmation debut de l'operation */
if (Loperation != WRITE_DVD) {
/* on affiche l'option "effacer le CDRW que lorsque c'est un graveur qui
le permet */
Lwritercdrw = Ldevicename1 && DRIVE_CDRW_WRITER(Ldevicename1) ? TRUE :
FALSE;
-printf("ici ca chie !?\n");
Ldialoghash = create_dialog_confirm_operation(Lwindow1, Ltxt,
Lwritercdrw == TRUE &&
((Lmediadetect1 & _MEDIA_CDRW) && (Lmediadetect1 & _MEDIA_NOBLANK)) ?
_("Blank CD-RW before writing") : NULL, conf_get_boolean("autoblank"));
} else {
/* confirmation gravure dvd */
-printf("oui !\n");
Ldialoghash = create_dialog_select_dvdoperation(Lwindow1, Lmediadetect1);
}
Lconfirm = sc_grave_get_data(Ldialoghash, "window");
@@ -1180,16 +1165,12 @@
g_assert(GTK_IS_WIDGET(Labcheck));
if (Lwritercdrw == TRUE) {
-printf("ici ca chie2 !?\n");
Luseautoblank =
gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(Labcheck));
-printf("ici ca chie3 !?\n");
}
sc_grave_set_data(Lg, &Luseautoblank, "useautoblank");
} else {
GtkRadioButton *Labradio =
GTK_RADIO_BUTTON(sc_grave_get_widget(Ldialoghash, "burninitial"));
-printf("ici ca chie4 !?\n");
Ltypeburn =
g_strdup(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(Labradio)) ? "-Z" :
"-M");
-printf("ici ca chie5 !?\n");
sc_grave_set_data(Lg, Ltypeburn, "typeburn");
}
- [Graveman-cvs] Changes to graveman/current/src/callbacks.c, sylvain cresto, 2005/03/01
- [Graveman-cvs] Changes to graveman/current/src/callbacks.c, sylvain cresto, 2005/03/02
- [Graveman-cvs] Changes to graveman/current/src/callbacks.c, sylvain cresto, 2005/03/03
- [Graveman-cvs] Changes to graveman/current/src/callbacks.c, sylvain cresto, 2005/03/11
- [Graveman-cvs] Changes to graveman/current/src/callbacks.c, sylvain cresto, 2005/03/27
- [Graveman-cvs] Changes to graveman/current/src/callbacks.c, sylvain cresto, 2005/03/28
- [Graveman-cvs] Changes to graveman/current/src/callbacks.c,
sylvain cresto <=