318 |
|
* "Volumes" pane |
319 |
|
*/ |
320 |
|
|
321 |
< |
static GtkWidget *volume_list; |
321 |
> |
static GtkWidget *volume_list, *w_extfs; |
322 |
|
static int selected_volume; |
323 |
|
|
324 |
|
// Volume in list selected |
420 |
|
gtk_clist_get_text(GTK_CLIST(volume_list), i, 0, &str); |
421 |
|
PrefsAddString("disk", str); |
422 |
|
} |
423 |
+ |
|
424 |
+ |
PrefsReplaceString("extfs", gtk_entry_get_text(GTK_ENTRY(w_extfs))); |
425 |
|
} |
426 |
|
|
427 |
|
// Create "Volumes" pane |
438 |
|
gtk_widget_show(volume_list); |
439 |
|
gtk_clist_set_selection_mode(GTK_CLIST(volume_list), GTK_SELECTION_SINGLE); |
440 |
|
gtk_clist_set_shadow_type(GTK_CLIST(volume_list), GTK_SHADOW_NONE); |
441 |
+ |
gtk_clist_set_reorderable(GTK_CLIST(volume_list), true); |
442 |
|
gtk_signal_connect(GTK_OBJECT(volume_list), "select_row", GTK_SIGNAL_FUNC(cl_selected), NULL); |
443 |
|
char *str; |
444 |
|
int32 index = 0; |
457 |
|
make_button_box(box, 0, buttons); |
458 |
|
make_separator(box); |
459 |
|
|
460 |
+ |
w_extfs = make_entry(box, STR_EXTFS_CTRL, "extfs"); |
461 |
+ |
|
462 |
|
static const opt_desc options[] = { |
463 |
|
{STR_BOOT_ANY_LAB, GTK_SIGNAL_FUNC(mn_boot_any)}, |
464 |
|
{STR_BOOT_CDROM_LAB, GTK_SIGNAL_FUNC(mn_boot_cdrom)}, |