1623 |
gtk_widget_show(Lwin); |
gtk_widget_show(Lwin); |
1624 |
Ltimeout = g_timeout_add(500, encours_callback, Lg); |
Ltimeout = g_timeout_add(500, encours_callback, Lg); |
1625 |
|
|
1626 |
|
proc_init_cdrominfo(NULL); |
1627 |
cdrecord_scan_for_drives(Lg, NULL); |
cdrecord_scan_for_drives(Lg, NULL); |
1628 |
|
|
1629 |
if (Labort == FALSE) { |
if (Labort == FALSE) { |
|
proc_init_cdrominfo(NULL); |
|
1630 |
for (Lcur = Glistdrives; Lcur; Lcur = Lcur ? g_slist_next(Lcur) : Lnext) { |
for (Lcur = Glistdrives; Lcur; Lcur = Lcur ? g_slist_next(Lcur) : Lnext) { |
1631 |
Ldrive = (Tdriveinfo *)Lcur->data; |
Ldrive = (Tdriveinfo *)Lcur->data; |
1632 |
if (g_slist_length(Ldrive->dev)>0) { |
if (g_slist_length(Ldrive->dev)>0) { |
1634 |
gtk_label_set_text(GTK_LABEL(sc_grave_get_widget(Lg, "labelava")), Ltxt); g_free(Ltxt); |
gtk_label_set_text(GTK_LABEL(sc_grave_get_widget(Lg, "labelava")), Ltxt); g_free(Ltxt); |
1635 |
while(gtk_events_pending()) gtk_main_iteration(); |
while(gtk_events_pending()) gtk_main_iteration(); |
1636 |
|
|
|
/* matos_maj_drive_info(Ldrive, (gchar *)g_slist_nth_data(Ldrive->dev, 0), NULL);*/ |
|
1637 |
matos_maj_drive_info(Ldrive, NULL, NULL); |
matos_maj_drive_info(Ldrive, NULL, NULL); |
1638 |
|
|
1639 |
/* on n'ajoute que les lecteurs/graveurs */ |
/* on n'ajoute que les lecteurs/graveurs */ |
1645 |
} |
} |
1646 |
} |
} |
1647 |
} |
} |
|
proc_free_cdrominfo(); |
|
1648 |
} |
} |
1649 |
|
proc_free_cdrominfo(); |
1650 |
|
|
1651 |
/* on attend la fin d'execution de la popup d'attente */ |
/* on attend la fin d'execution de la popup d'attente */ |
1652 |
g_source_remove(Ltimeout); |
g_source_remove(Ltimeout); |